Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev-0.18' into dev-0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
julien6387 committed Apr 19, 2024
2 parents 4959ed9 + 04f2b71 commit da17000
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions supvisors/tests/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1749,8 +1749,9 @@ def test_publish_process_failures(supvisors, context):
assert application_3.update.call_args_list == [call()]
assert supvisors.external_publisher.send_process_status.call_args_list == [call(proc_2_serial),
call(proc_1_serial)]
assert supvisors.external_publisher.send_application_status.has_calls([call(application_3_serial),
call(application_1_serial)], any_order=True)
supvisors.external_publisher.send_application_status.assert_has_calls([call(application_3_serial),
call(application_1_serial)],
any_order=True)


def test_on_instance_failure(mocker, supvisors, context):
Expand Down

0 comments on commit da17000

Please sign in to comment.