Skip to content

Commit

Permalink
change order of service test assertion #38
Browse files Browse the repository at this point in the history
  • Loading branch information
asuresh-code committed Dec 9, 2024
1 parent 094fb83 commit e4ec480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/services/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ def call_delete(self) -> None:
def check_delete_success(self) -> None:
"""Checks that a prior call to `call_delete` worked as expected."""

self.mock_image_repository.delete.assert_called_once_with(self._delete_image_id)
self.mock_image_store.delete.assert_called_once_with(self._delete_image_object_key)
self.mock_image_repository.delete.assert_called_once_with(self._delete_image_id)


class TestDelete(DeleteDSL):
Expand Down

0 comments on commit e4ec480

Please sign in to comment.