diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-07-19 20:03:33 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 20:03:33 +1000 |
commit | a97c845271f9a89ebdb7186d4c9d04c099bd1beb (patch) | |
tree | 403664813ae39e3cf4d005cd71ee4d2e004571a7 /tests/rest/client/v1/test_rooms.py | |
parent | Merge pull request #3554 from matrix-org/erikj/response_metrics_code (diff) | |
download | synapse-a97c845271f9a89ebdb7186d4c9d04c099bd1beb.tar.xz |
Move v1-only APIs into their own module & isolate deprecated ones (#3460)
Diffstat (limited to 'tests/rest/client/v1/test_rooms.py')
-rw-r--r-- | tests/rest/client/v1/test_rooms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py index 6b5764095e..00fc796787 100644 --- a/tests/rest/client/v1/test_rooms.py +++ b/tests/rest/client/v1/test_rooms.py @@ -20,7 +20,6 @@ import json from mock import Mock, NonCallableMock from six.moves.urllib import parse as urlparse -# twisted imports from twisted.internet import defer import synapse.rest.client.v1.room @@ -86,6 +85,7 @@ class RoomBase(unittest.TestCase): self.resource = JsonResource(self.hs) synapse.rest.client.v1.room.register_servlets(self.hs, self.resource) + synapse.rest.client.v1.room.register_deprecated_servlets(self.hs, self.resource) self.helper = RestHelper(self.hs, self.resource, self.user_id) |