Skip to content

Commit

Permalink
mark a couple of tests as essential
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Apr 2, 2024
1 parent 48dc15a commit d59a778
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/load/pipeline/test_merge_disposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# ACTIVE_DESTINATIONS += ["motherduck"]


@pytest.mark.essential
@pytest.mark.parametrize(
"destination_config", destinations_configs(default_sql_configs=True), ids=lambda x: x.name
)
Expand Down Expand Up @@ -153,6 +154,7 @@ def load_issues():
return load_issues


@pytest.mark.essential
@pytest.mark.parametrize(
"destination_config", destinations_configs(default_sql_configs=True), ids=lambda x: x.name
)
Expand Down
3 changes: 2 additions & 1 deletion tests/load/pipeline/test_replace_disposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
)


@pytest.mark.essential
@pytest.mark.parametrize(
"destination_config",
destinations_configs(
Expand Down Expand Up @@ -245,7 +246,7 @@ def load_items_none():
"_dlt_version": increase_loads(dlt_versions), # new table name -> new schema
}


@pytest.mark.essential
@pytest.mark.parametrize(
"destination_config",
destinations_configs(
Expand Down
6 changes: 6 additions & 0 deletions tests/load/test_sql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def client(request) -> Iterator[SqlJobClientBase]:
yield from yield_client_with_storage(request.param.destination)


@pytest.mark.essential
@pytest.mark.parametrize(
"client",
destinations_configs(default_sql_configs=True, exclude=["mssql", "synapse"]),
Expand Down Expand Up @@ -139,6 +140,7 @@ def test_malformed_execute_parameters(client: SqlJobClientBase) -> None:
assert client.sql_client.is_dbapi_exception(term_ex.value.dbapi_exception)


@pytest.mark.essential
@pytest.mark.parametrize(
"client", destinations_configs(default_sql_configs=True), indirect=True, ids=lambda x: x.name
)
Expand Down Expand Up @@ -186,6 +188,7 @@ def test_execute_sql(client: SqlJobClientBase) -> None:
assert len(rows) == 0


@pytest.mark.essential
@pytest.mark.parametrize(
"client", destinations_configs(default_sql_configs=True), indirect=True, ids=lambda x: x.name
)
Expand All @@ -204,6 +207,7 @@ def test_execute_ddl(client: SqlJobClientBase) -> None:
assert rows[0][0] == Decimal("1.0")


@pytest.mark.essential
@pytest.mark.parametrize(
"client", destinations_configs(default_sql_configs=True), indirect=True, ids=lambda x: x.name
)
Expand Down Expand Up @@ -246,6 +250,7 @@ def test_execute_query(client: SqlJobClientBase) -> None:
assert len(rows) == 0


@pytest.mark.essential
@pytest.mark.parametrize(
"client", destinations_configs(default_sql_configs=True), indirect=True, ids=lambda x: x.name
)
Expand Down Expand Up @@ -297,6 +302,7 @@ def test_execute_df(client: SqlJobClientBase) -> None:
assert df_3 is None


@pytest.mark.essential
@pytest.mark.parametrize(
"client", destinations_configs(default_sql_configs=True), indirect=True, ids=lambda x: x.name
)
Expand Down

0 comments on commit d59a778

Please sign in to comment.