Skip to content

Commit

Permalink
minor test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Apr 5, 2024
1 parent f863015 commit eb940fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/functional/adapter/test_get_last_relation_modified.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from dbt.cli.main import dbtRunner


freshness_via_metadata_schema_yml = """version: 2
freshness_via_metadata_schema_yml = """
sources:
- name: test_source
freshness:
Expand All @@ -18,7 +18,7 @@
- name: test_table
"""

freshness_metadata_schema_batch_yml = """version: 2
freshness_metadata_schema_batch_yml = """
sources:
- name: test_source
freshness:
Expand Down Expand Up @@ -115,10 +115,11 @@ def test_get_last_relation_modified_batch(self, project, set_env_vars, custom_sc
"test_table_with_loaded_at_field", freshness_results_batch
)

# Remove TableLastModifiedMetadataBatch and run freshness on same input without batch strategy
capabilities_no_batch = CapabilityDict(
{
capability: support
for capability, support in SnowflakeAdapter._capabilities.items()
for capability, support in SnowflakeAdapter.capabilities().items()
if capability != Capability.TableLastModifiedMetadataBatch
}
)
Expand Down

0 comments on commit eb940fc

Please sign in to comment.