From 942c3128f01b25a72621376a9fed3f32c6652c65 Mon Sep 17 00:00:00 2001 From: ewuerger Date: Fri, 13 Dec 2024 16:20:28 +0100 Subject: [PATCH] remove again --- tests/test_workitem_attachments.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_workitem_attachments.py b/tests/test_workitem_attachments.py index d1a82e7..e631b3c 100644 --- a/tests/test_workitem_attachments.py +++ b/tests/test_workitem_attachments.py @@ -417,7 +417,7 @@ def test_update_context_diagram_no_changes( converter = model_converter.ModelConverter(model, "TEST") worker.polarion_data_repo = polarion_repo.PolarionDataRepository( [ - data_model.CapellaWorkItem( + old := data_model.CapellaWorkItem( WORKITEM_ID, uuid_capella=TEST_PHYS_FNC, checksum=json.dumps( @@ -442,6 +442,10 @@ def test_update_context_diagram_no_changes( converter.converter_session[TEST_PHYS_FNC] ) + assert ( + converter.converter_session[TEST_PHYS_FNC].work_item.checksum + == old.checksum + ) assert worker.project_client.work_items.update.call_count == 0 assert worker.project_client.work_items.attachments.update.call_count == 0 assert wrapped_render.call_count == 0