Skip to content

Commit 4e57f01

Browse files
committed
fix: tests for keylist update response handler
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
1 parent 7bb7809 commit 4e57f01

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_response_handler.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ async def setUp(self):
4343
self.context.connection_ready = True
4444
self.context.connection_record = ConnRecord(connection_id=TEST_CONN_ID)
4545
self.mock_event_bus = MockEventBus()
46-
self.context.injector.bind_instance(EventBus, self.mock_event_bus)
46+
self.context.profile.context.injector.bind_instance(
47+
EventBus, self.mock_event_bus
48+
)
4749
self.route_manager = MockRouteManager()
48-
self.context.injector.bind_instance(RouteManager, self.route_manager)
50+
self.context.profile.context.injector.bind_instance(
51+
RouteManager, self.route_manager
52+
)
4953

5054
async def test_handler_no_active_connection(self):
5155
handler, responder = KeylistUpdateResponseHandler(), MockResponder()

0 commit comments

Comments
 (0)