Skip to content

Commit

Permalink
replace Checks in test_metadata file
Browse files Browse the repository at this point in the history
  • Loading branch information
sf-dcp committed Nov 26, 2024
1 parent b986056 commit c790836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcpy/test/models/product/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from dcpy.models.product import metadata as md
from dcpy.models.product.dataset import metadata_v2 as ds_md
from dcpy.models import dataset


@pytest.fixture
Expand Down Expand Up @@ -178,7 +179,7 @@ def test_column_defaults_applied(dataset_with_snippets: ds_md.Metadata):
name="uid",
data_type="text",
data_source="Department of City Planning",
checks=ds_md.Checks(is_primary_key=True),
checks=dataset.Checks(is_primary_key=True),
),
ds_md.DatasetColumn(
id="bbl",
Expand Down

0 comments on commit c790836

Please sign in to comment.