diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-11-10 19:02:19 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-11-10 19:02:19 +0000 |
commit | 269f80bf8ecc4a89c2bb71f0872893bb53a252ca (patch) | |
tree | 5fd5bae78cabeec6604ffa6b0c0d76ac81774b8a /tests/rest/test_rooms.py | |
parent | Initial (empty) test that room initialSync at least returns 200 OK (diff) | |
download | synapse-269f80bf8ecc4a89c2bb71f0872893bb53a252ca.tar.xz |
Have room initialSync return the room's room_id
Diffstat (limited to '')
-rw-r--r-- | tests/rest/test_rooms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py index 69dade4548..129f4d49f4 100644 --- a/tests/rest/test_rooms.py +++ b/tests/rest/test_rooms.py @@ -993,6 +993,8 @@ class RoomInitialSyncTestCase(RestTestCase): "/rooms/%s/initialSync" % self.room_id) self.assertEquals(200, code) + self.assertEquals(self.room_id, response["room_id"]) + # (code, response) = yield self.mock_resource.trigger("GET", path, None) # self.assertEquals(200, code, msg=str(response)) # self.assert_dict(json.loads(content), response) |