summary refs log tree commit diff
path: root/tests/storage/test_room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-20 14:59:48 +0000
committerErik Johnston <erik@matrix.org>2015-03-20 15:05:10 +0000
commit7e282a53a542832f44119b886b2d4d474bbe1d0f (patch)
tree1d60e0d565175ea7a2d2f10b89b81faa8139a65c /tests/storage/test_room.py
parentRearrange storage modules (diff)
downloadsynapse-7e282a53a542832f44119b886b2d4d474bbe1d0f.tar.xz
Tidy up _simple_... methods
Diffstat (limited to 'tests/storage/test_room.py')
-rw-r--r--tests/storage/test_room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_room.py b/tests/storage/test_room.py
index c88dd446fb..ab7625a3ca 100644
--- a/tests/storage/test_room.py
+++ b/tests/storage/test_room.py
@@ -44,7 +44,7 @@ class RoomStoreTestCase(unittest.TestCase):
 
     @defer.inlineCallbacks
     def test_get_room(self):
-        self.assertObjectHasAttributes(
+        self.assertDictContainsSubset(
             {"room_id": self.room.to_string(),
              "creator": self.u_creator.to_string(),
              "is_public": True},