Skip to content

Commit

Permalink
Change error type in provision unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Hale <[email protected]>
  • Loading branch information
jamshale committed Sep 26, 2024
1 parent a89331a commit f27d76e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aries_cloudagent/config/tests/test_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from aries_cloudagent.tests import mock

from ...core.error import StartupError
from ...core.in_memory import InMemoryProfile
from ...core.profile import ProfileManager, ProfileSession
from ...storage.base import BaseStorage
Expand Down Expand Up @@ -143,7 +144,7 @@ async def test_wallet_config_auto_provision(self):
):
mock_mgr_open.side_effect = test_module.ProfileNotFoundError()

with self.assertRaises(test_module.ProfileNotFoundError):
with self.assertRaises(StartupError):
await test_module.wallet_config(self.context, provision=False)

self.context.update_settings({"auto_provision": True})
Expand Down

0 comments on commit f27d76e

Please sign in to comment.