diff --git a/raiden/tests/mocked/test_matrix_transport.py b/raiden/tests/mocked/test_matrix_transport.py index ec032b3e0f..ec559e9ee3 100644 --- a/raiden/tests/mocked/test_matrix_transport.py +++ b/raiden/tests/mocked/test_matrix_transport.py @@ -122,9 +122,9 @@ def mock_join_room(self, room_id_or_alias): transport._stop_event, ) transport._stop_event.clear() - # XXX-UAM address_mgr acccess was here - # transport._address_mgr.add_userid_for_address(Address(factories.HOP1), USERID1) + transport._client.user_id = USERID0 + transport._started = True monkeypatch.setattr(transport._raiden_service, "on_messages", mock_on_messages) monkeypatch.setattr(GMatrixClient, "get_user_presence", mock_get_user_presence)