Skip to content

Commit

Permalink
remove explicit model version
Browse files Browse the repository at this point in the history
  • Loading branch information
InnocentBug committed May 16, 2024
1 parent 020f6f1 commit 8bb3780
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions tests/fixtures/primary_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def simple_project_node(simple_collection_node) -> cript.Project:
def complex_project_dict(complex_collection_node, simple_material_node, complex_user_node) -> dict:
project_dict = {"node": ["Project"]}
project_dict["locked"] = True
project_dict["model_version"] = "1.0.1"
project_dict["updated_by"] = json.loads(copy.deepcopy(complex_user_node).get_expanded_json())
project_dict["created_by"] = json.loads(complex_user_node.get_expanded_json())
project_dict["public"] = True
Expand Down Expand Up @@ -60,7 +59,6 @@ def fixed_cyclic_project_node() -> cript.Project:
project_json_string += '"created_at": "2024-03-12 15:58:12.486673",\n'
project_json_string += '"updated_at": "2024-03-12 15:58:12.486681",\n'
project_json_string += '"email": "[email protected]",\n'
project_json_string += '"model_version": "1.0.1",\n'
project_json_string += '"orcid": "0000-0002-0000-0000",\n'
project_json_string += '"picture": "/my/picture/path",\n'
project_json_string += '"username": "testuser"\n'
Expand All @@ -72,13 +70,11 @@ def fixed_cyclic_project_node() -> cript.Project:
project_json_string += '"created_at": "2024-03-12 15:58:12.486673",\n'
project_json_string += '"updated_at": "2024-03-12 15:58:12.486681",\n'
project_json_string += '"email": "[email protected]",\n'
project_json_string += '"model_version": "1.0.1",\n'
project_json_string += '"orcid": "0000-0002-0000-0000",\n'
project_json_string += '"picture": "/my/picture/path",\n'
project_json_string += '"username": "testuser"\n'
project_json_string += "},\n"
project_json_string += '"locked": true,\n'
project_json_string += '"model_version": "1.0.1",\n'
project_json_string += '"public": true,\n'
project_json_string += '"name": "my project name",\n'
project_json_string += '"notes": "my project notes",\n'
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/supporting_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def complex_local_file_node(tmp_path_factory) -> cript.File:
def complex_user_dict() -> dict:
user_dict = {"node": ["User"]}
user_dict["created_at"] = str(datetime.datetime.now())
user_dict["model_version"] = "1.0.1"
user_dict["picture"] = "/my/picture/path"
user_dict["updated_at"] = str(datetime.datetime.now())
user_dict["username"] = "testuser"
Expand Down

0 comments on commit 8bb3780

Please sign in to comment.