Skip to content

Commit

Permalink
test different order
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jul 9, 2024
1 parent a2e810d commit 2c5cbfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/planning/tests/events_service_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ def test_is_new_version():

assert not service.is_new_version(new_event, old_event)

new_event["subject"] = [{"qcode": "foo"}, {"qcode": "bar"}]
old_event["subject"] = [{"qcode": "bar"}, {"qcode": "foo"}]

assert not service.is_new_version(new_event, old_event)

new_event["subject"] = [{"qcode": "foo"}]
old_event["subject"] = [{"qcode": "bar"}]

Expand Down

0 comments on commit 2c5cbfd

Please sign in to comment.