summary refs log tree commit diff
path: root/tests/rest/client/v1/test_rooms.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-08 21:57:03 +0100
committerGitHub <noreply@github.com>2019-05-08 21:57:03 +0100
commitd216a36b3703e42906e2242526784598642c8505 (patch)
treeac4bc9e1650eacf047e9d1ad7833df7932577a96 /tests/rest/client/v1/test_rooms.py
parentadd options to require an access_token to GET /profile and /publicRooms on CS... (diff)
downloadsynapse-d216a36b3703e42906e2242526784598642c8505.tar.xz
Fix bogus imports in tests (#5154)
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 28fbf6ae52..9b191436cc 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -909,7 +909,7 @@ class RoomSearchTestCase(unittest.HomeserverTestCase):
 class PublicRoomsRestrictedTestCase(unittest.HomeserverTestCase):
 
     servlets = [
-        admin.register_servlets,
+        synapse.rest.admin.register_servlets_for_client_rest_resource,
         room.register_servlets,
         login.register_servlets,
     ]