From e4ec4801b3b0c99ea32aaf25d4141deae24508d2 Mon Sep 17 00:00:00 2001 From: Anikesh Suresh Date: Mon, 9 Dec 2024 08:40:13 +0000 Subject: [PATCH] change order of service test assertion #38 --- test/unit/services/test_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/services/test_image.py b/test/unit/services/test_image.py index 2d40342..d39649a 100644 --- a/test/unit/services/test_image.py +++ b/test/unit/services/test_image.py @@ -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):