diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-11-18 14:07:51 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-11-18 14:07:51 +0000 |
commit | 17f977a9de458e375a8e09f8f68ec4393e0dd1bb (patch) | |
tree | 7a162402786da071fe5521a18ac1671bad0ce370 /tests | |
parent | Merge branch 'develop' into room-initial-sync (diff) | |
download | synapse-17f977a9de458e375a8e09f8f68ec4393e0dd1bb.tar.xz |
Include 'messages' snapshot in room initialSync
Diffstat (limited to '')
-rw-r--r-- | tests/rest/test_rooms.py | 4 |
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) |