summary refs log tree commit diff
path: root/tests/rest/client/v1/test_rooms.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-07-19 20:03:33 +1000
committerGitHub <noreply@github.com>2018-07-19 20:03:33 +1000
commita97c845271f9a89ebdb7186d4c9d04c099bd1beb (patch)
tree403664813ae39e3cf4d005cd71ee4d2e004571a7 /tests/rest/client/v1/test_rooms.py
parentMerge pull request #3554 from matrix-org/erikj/response_metrics_code (diff)
downloadsynapse-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.py2
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)