Skip to content

Commit

Permalink
set started in matrix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
fredo authored and netcriptus committed Sep 17, 2021
1 parent ba9a1ff commit 48d9dbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raiden/tests/mocked/test_matrix_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48d9dbb

Please sign in to comment.