Skip to content

Commit

Permalink
Reverting tests, now that I'm coercing these numbers to strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
pattisdr committed Jul 17, 2024
1 parent b27bf03 commit e93e9ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions tests/fideslang/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_system_valid(self) -> None:
],
meta={"some": "meta stuff"},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
cookies=[{"name": "test_cookie"}],
privacy_declarations=[
PrivacyDeclaration(
Expand Down Expand Up @@ -209,7 +209,7 @@ def test_system_valid_nested_meta(self) -> None:
},
},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand Down Expand Up @@ -256,7 +256,7 @@ def test_system_valid_no_meta(self) -> None:
],
# purposefully omitting the `meta` property to ensure it's effectively optional
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand All @@ -278,7 +278,7 @@ def test_system_valid_no_egress_or_ingress(self) -> None:
fides_key="test_system",
meta={"some": "meta stuff"},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand All @@ -305,7 +305,7 @@ def test_system_no_egress(self) -> None:
],
meta={"some": "meta stuff"},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand Down Expand Up @@ -338,7 +338,7 @@ def test_system_no_ingress(self) -> None:
fides_key="test_system",
meta={"some": "meta stuff"},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand Down Expand Up @@ -370,7 +370,7 @@ def test_system_user_ingress_valid(self) -> None:
],
meta={"some": "meta stuff"},
name="Test System",
organization_fides_key="1",
organization_fides_key=1,
privacy_declarations=[
PrivacyDeclaration(
data_categories=[],
Expand All @@ -387,7 +387,7 @@ def test_system_user_ingress_valid(self) -> None:
def test_expanded_system(self):
system = System(
fides_key="test_system",
organization_fides_key="1",
organization_fides_key=1,
tags=["some", "tags"],
name="Exponential Interactive, Inc d/b/a VDX.tv",
description="My system test",
Expand Down
2 changes: 1 addition & 1 deletion tests/fideslang/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_built_from_dict_with_empty_versions(self, TaxonomyClass) -> None:
"""Try building from a dictionary with explicit None values."""
TaxonomyClass.model_validate(
{
"organization_fides_key": "1",
"organization_fides_key": 1,
"fides_key": "user",
"name": "Custom Test Data",
"description": "Custom Test Data Category",
Expand Down

0 comments on commit e93e9ab

Please sign in to comment.