summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-30 16:38:35 +0000
committerMark Haines <mark.haines@matrix.org>2015-10-30 16:38:35 +0000
commitfb46937413cc0ccbf12063a5743ddf914cd8170a (patch)
treec86dadad61376e608173b33278609c049bd52be8 /tests/rest
parentInclude tags in v1 room initial sync (diff)
downloadsynapse-fb46937413cc0ccbf12063a5743ddf914cd8170a.tar.xz
Support clients supplying older tokens, fix short poll test
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/v1/test_presence.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v1/test_presence.py b/tests/rest/client/v1/test_presence.py
index 29d9bbaad4..0e3b922246 100644
--- a/tests/rest/client/v1/test_presence.py
+++ b/tests/rest/client/v1/test_presence.py
@@ -369,7 +369,7 @@ class PresenceEventStreamTestCase(unittest.TestCase):
         # all be ours
 
         # I'll already get my own presence state change
-        self.assertEquals({"start": "0_1_0_0", "end": "0_1_0_0", "chunk": []},
+        self.assertEquals({"start": "0_1_0_0_0", "end": "0_1_0_0_0", "chunk": []},
             response
         )
 
@@ -388,7 +388,7 @@ class PresenceEventStreamTestCase(unittest.TestCase):
                 "/events?from=s0_1_0&timeout=0", None)
 
         self.assertEquals(200, code)
-        self.assertEquals({"start": "s0_1_0_0", "end": "s0_2_0_0", "chunk": [
+        self.assertEquals({"start": "s0_1_0_0_0", "end": "s0_2_0_0_0", "chunk": [
             {"type": "m.presence",
              "content": {
                  "user_id": "@banana:test",