Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CT-2461: Fix up unit test data
  • Loading branch information
peterallenwebb committed May 10, 2023
commit ccd73b029ac7f6e530b2a11a5e070b85abdccebd
6 changes: 6 additions & 0 deletions test/unit/test_contracts_graph_parsed.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import datetime
import pickle
import pytest

Expand Down Expand Up @@ -785,6 +786,7 @@ def basic_parsed_model_patch_dict():
"access": "public",
"version": "1",
"latest_version": "1",
"deprecation_date": "2020-01-01T00:00:00+00:00",
}


Expand All @@ -803,6 +805,7 @@ def basic_parsed_model_patch_object():
access="public",
version="1",
latest_version="1",
deprecation_date=datetime.datetime(2020, 1, 1, 0, 0, 0, 0, tzinfo=datetime.timezone.utc),
)


Expand Down Expand Up @@ -837,6 +840,7 @@ def patched_model_object():
access=AccessType.Public,
version="1",
latest_version="1",
deprecation_date=datetime.datetime(2020, 1, 1, 0, 0, 0, 0, tzinfo=datetime.timezone.utc),
)


Expand Down Expand Up @@ -1921,6 +1925,7 @@ def populated_parsed_node_patch_dict():
"access": "public",
"version": "1",
"latest_version": "1",
"deprecation_date": "2020-01-01T00:00:00+00:00",
}


Expand All @@ -1939,6 +1944,7 @@ def populated_parsed_node_patch_object():
access="public",
version="1",
latest_version="1",
deprecation_date=datetime.datetime(2020, 1, 1, 0, 0, 0, 0, tzinfo=datetime.timezone.utc),
)


Expand Down
1 change: 1 addition & 0 deletions test/unit/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"version",
"latest_version",
"constraints",
"deprecation_date",
}
)

Expand Down