From d1598a8df12c1c906bac3a605bf07d6a250f5ce9 Mon Sep 17 00:00:00 2001 From: Ali Date: Wed, 6 Mar 2024 15:36:16 +0100 Subject: [PATCH] breakthrough with deep diff --- tests/nodes/primary_nodes/test_material.py | 2 +- tests/nodes/primary_nodes/test_project.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/nodes/primary_nodes/test_material.py b/tests/nodes/primary_nodes/test_material.py index 99218498..a4ad38c1 100644 --- a/tests/nodes/primary_nodes/test_material.py +++ b/tests/nodes/primary_nodes/test_material.py @@ -305,7 +305,7 @@ def test_material_property_node_change(cript_api) -> None: """ epoch_time = int(time.time()) - name_1 = f"myproj_ali_{epoch_time}" + name_1 = f"my_proj_ali_{epoch_time}" mat_1 = f"my_mat__{epoch_time}" url_path = "/project/" diff --git a/tests/nodes/primary_nodes/test_project.py b/tests/nodes/primary_nodes/test_project.py index 94393b51..dac1433b 100644 --- a/tests/nodes/primary_nodes/test_project.py +++ b/tests/nodes/primary_nodes/test_project.py @@ -201,7 +201,7 @@ def test_update_project_change_or_reset_material_to_existing_materials(cript_api """ epoch_time = int(time.time()) - name_1 = f"m_yproj_ali_{epoch_time}" + name_1 = f"my_proj_ali_{epoch_time}" col_name = f"031o0col__{epoch_time}" url_path = "/project/" @@ -285,7 +285,7 @@ def test_add_existing_materials_by_name_to_project(cript_api) -> None: """ epoch_time = int(time.time()) - name_1 = f"myproj_ali_{epoch_time}" + name_1 = f"my_proj_ali_{epoch_time}" url_path = "/project/" create_payload = {"node": ["Project"], "name": name_1, "material": [{"uuid": "1809330c-31d2-4a80-af72-77b84070ee1d"}, {"uuid": "ea8f957c-b6e5-4668-b306-e0d6b0d05d9a"}]} @@ -335,7 +335,7 @@ def test_add_existing_materials_by_name_to_project(cript_api) -> None: def test_remove_existing_materials_by_name_from_project(cript_api) -> None: """ pytest nodes/primary_nodes/test_project.py::test_remove_existing_materials_by_name_from_project - test that a project can be updated and completley reset + test that a project can be updated and completely reset strategy: create something with a post/patch with a name (we will delete at the end)