diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-29 13:04:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-29 13:04:51 +0000 |
commit | b18114e19e184233ab825eafd93f17ed559b6270 (patch) | |
tree | 7b7bb120a570fd648db68b76ccb0bfacbfdd357e /tests | |
parent | Merge pull request #538 from matrix-org/erikj/fix_lru_cache (diff) | |
parent | Amalgamate tags and account data stream caches (diff) | |
download | synapse-b18114e19e184233ab825eafd93f17ed559b6270.tar.xz |
Merge pull request #536 from matrix-org/erikj/sync
Make /sync "better".
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/v1/test_rooms.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py index 2fe6f695f5..ad5dd3bd6e 100644 --- a/tests/rest/client/v1/test_rooms.py +++ b/tests/rest/client/v1/test_rooms.py @@ -1045,13 +1045,6 @@ class RoomMessageListTestCase(RestTestCase): self.assertTrue("end" in response) @defer.inlineCallbacks - def test_stream_token_is_rejected_for_back_pagination(self): - (code, response) = yield self.mock_resource.trigger_get( - "/rooms/%s/messages?access_token=x&from=s0_0_0_0_0&dir=b" % - self.room_id) - self.assertEquals(400, code) - - @defer.inlineCallbacks def test_stream_token_is_accepted_for_fwd_pagianation(self): token = "s0_0_0_0_0" (code, response) = yield self.mock_resource.trigger_get( @@ -1061,4 +1054,4 @@ class RoomMessageListTestCase(RestTestCase): self.assertTrue("start" in response) self.assertEquals(token, response['start']) self.assertTrue("chunk" in response) - self.assertTrue("end" in response) \ No newline at end of file + self.assertTrue("end" in response) |