diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-20 16:04:01 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-20 16:06:47 +0100 |
commit | 583add34fe6908f642a78be9d08a15e0b47498d0 (patch) | |
tree | 8b3361e2855b6348f9bdff719e8fe9c853293c43 /tests/handlers | |
parent | Fix exception name in _fill_out_join_content() exception (diff) | |
download | synapse-583add34fe6908f642a78be9d08a15e0b47498d0.tar.xz |
Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_room.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py index be68f17696..bf71d3be3b 100644 --- a/tests/handlers/test_room.py +++ b/tests/handlers/test_room.py @@ -69,6 +69,8 @@ class RoomMemberHandlerTestCase(unittest.TestCase): self.distributor = hs.get_distributor() self.hs = hs + self.distributor.declare("collect_presencelike_data") + self.handlers.room_member_handler = RoomMemberHandler(self.hs) self.handlers.profile_handler = ProfileHandler(self.hs) self.room_member_handler = self.handlers.room_member_handler |