summary refs log tree commit diff
path: root/tests/replication/test_resource.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-16 20:08:32 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-16 20:08:32 +0100
commit53e171f345d43ab133e8382cfdf639cd81dfcc4b (patch)
tree2ceaa5da4938c60de600373fa02930cece959f11 /tests/replication/test_resource.py
parentRemove get_joined_rooms_for_user from RoomMemberHandler (diff)
parentDon't inherit PresenceHandler from BaseHandler, remove references to self.hs ... (diff)
downloadsynapse-53e171f345d43ab133e8382cfdf639cd81dfcc4b.tar.xz
Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_handler
Diffstat (limited to 'tests/replication/test_resource.py')
-rw-r--r--tests/replication/test_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replication/test_resource.py b/tests/replication/test_resource.py
index b1dd7b4a74..1258aaacb1 100644
--- a/tests/replication/test_resource.py
+++ b/tests/replication/test_resource.py
@@ -78,7 +78,7 @@ class ReplicationResourceCase(unittest.TestCase):
     @defer.inlineCallbacks
     def test_presence(self):
         get = self.get(presence="-1")
-        yield self.hs.get_handlers().presence_handler.set_state(
+        yield self.hs.get_presence_handler().set_state(
             self.user, {"presence": "online"}
         )
         code, body = yield get