summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 14:07:51 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 14:07:51 +0000
commit17f977a9de458e375a8e09f8f68ec4393e0dd1bb (patch)
tree7a162402786da071fe5521a18ac1671bad0ce370 /tests
parentMerge branch 'develop' into room-initial-sync (diff)
downloadsynapse-17f977a9de458e375a8e09f8f68ec4393e0dd1bb.tar.xz
Include 'messages' snapshot in room initialSync
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/test_rooms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py
index 98c6af97b0..b7d9a2bd06 100644
--- a/tests/rest/test_rooms.py
+++ b/tests/rest/test_rooms.py
@@ -1050,6 +1050,10 @@ class RoomInitialSyncTestCase(RestTestCase):
 
         self.assertTrue("m.room.create" in state)
 
+        self.assertTrue("messages" in response)
+        self.assertTrue("chunk" in response["messages"])
+        self.assertTrue("end" in response["messages"])
+
 #        (code, response) = yield self.mock_resource.trigger("GET", path, None)
 #        self.assertEquals(200, code, msg=str(response))
 #        self.assert_dict(json.loads(content), response)