From 45de35637ce6cc24799551568ebdb933986122a9 Mon Sep 17 00:00:00 2001 From: Adam Burdett Date: Thu, 14 Apr 2022 15:06:17 -0600 Subject: [PATCH] async mock,'As it should be' Signed-off-by: Adam Burdett --- aries_cloudagent/multitenant/admin/tests/test_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aries_cloudagent/multitenant/admin/tests/test_routes.py b/aries_cloudagent/multitenant/admin/tests/test_routes.py index 37887d5667..98ad47dca2 100644 --- a/aries_cloudagent/multitenant/admin/tests/test_routes.py +++ b/aries_cloudagent/multitenant/admin/tests/test_routes.py @@ -244,7 +244,7 @@ async def test_wallet_create_raw_key_derivation(self): with async_mock.patch.object(test_module.web, "json_response") as mock_response: self.mock_multitenant_mgr.create_wallet = async_mock.CoroutineMock() - self.mock_multitenant_mgr.create_auth_token = async_mock.Mock() + self.mock_multitenant_mgr.create_auth_token = async_mock.CoroutineMock() await test_module.wallet_create(self.request) self.mock_multitenant_mgr.create_wallet.assert_called_once_with(