Skip to content

Commit

Permalink
remove again
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Dec 13, 2024
1 parent d0a3155 commit 942c312
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_workitem_attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
Expand Down

0 comments on commit 942c312

Please sign in to comment.