Skip to content

Commit

Permalink
async mock,'As it should be'
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Burdett <[email protected]>
  • Loading branch information
burdettadam committed Apr 14, 2022
1 parent e6e33c1 commit 45de356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_cloudagent/multitenant/admin/tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 45de356

Please sign in to comment.