summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-17 11:01:28 +0000
committerMark Haines <mark.haines@matrix.org>2016-03-17 11:03:47 +0000
commit673c96ce97052126f5bfd11c7dcc19880614ec25 (patch)
treee9b6d04e6da35d05848321f840d56af3ef25ca6a /tests
parentAdd option to definitions.py to search for functions a function refers to (diff)
downloadsynapse-673c96ce97052126f5bfd11c7dcc19880614ec25.tar.xz
Remove dead code left over from presence changes
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_roommember.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/storage/test_roommember.py b/tests/storage/test_roommember.py
index 677d11f68d..b029ff0584 100644
--- a/tests/storage/test_roommember.py
+++ b/tests/storage/test_roommember.py
@@ -91,11 +91,6 @@ class RoomMemberStoreTestCase(unittest.TestCase):
                 )
             )]
         )
-        self.assertFalse(
-            (yield self.store.user_rooms_intersect(
-                [self.u_alice.to_string(), self.u_bob.to_string()]
-            ))
-        )
 
     @defer.inlineCallbacks
     def test_two_members(self):
@@ -108,11 +103,6 @@ class RoomMemberStoreTestCase(unittest.TestCase):
                 yield self.store.get_room_members(self.room.to_string())
             )}
         )
-        self.assertTrue((
-            yield self.store.user_rooms_intersect([
-                self.u_alice.to_string(), self.u_bob.to_string()
-            ])
-        ))
 
     @defer.inlineCallbacks
     def test_room_hosts(self):