diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-27 11:37:53 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-27 11:37:53 +0100 |
commit | 135a1aa229f09badb7aeb79e803ab5d7654230ac (patch) | |
tree | 82920cd159ff73e3fd61a6dc5b7100d7f95918af /tests/rest/test_presence.py | |
parent | Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and remov... (diff) | |
download | synapse-135a1aa229f09badb7aeb79e803ab5d7654230ac.tar.xz |
Final url modifications: renamed /presence_list to /presence/list to keep the top-level namespace clean. Updated tests.
Diffstat (limited to '')
-rw-r--r-- | tests/rest/test_presence.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rest/test_presence.py b/tests/rest/test_presence.py index 970405d271..e249a0d48a 100644 --- a/tests/rest/test_presence.py +++ b/tests/rest/test_presence.py @@ -171,7 +171,7 @@ class PresenceListTestCase(unittest.TestCase): ) (code, response) = yield self.mock_resource.trigger("GET", - "/presence_list/%s" % (myid), None) + "/presence/list/%s" % (myid), None) self.assertEquals(200, code) self.assertEquals( @@ -192,7 +192,7 @@ class PresenceListTestCase(unittest.TestCase): ) (code, response) = yield self.mock_resource.trigger("POST", - "/presence_list/%s" % (myid), + "/presence/list/%s" % (myid), """{"invite": ["@banana:test"]}""" ) @@ -212,7 +212,7 @@ class PresenceListTestCase(unittest.TestCase): ) (code, response) = yield self.mock_resource.trigger("POST", - "/presence_list/%s" % (myid), + "/presence/list/%s" % (myid), """{"drop": ["@banana:test"]}""" ) |