summary refs log tree commit diff
path: root/tests/rest/client/test_identity.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-05-01 15:32:38 +0100
committerRichard van der Hoff <richard@matrix.org>2019-05-01 15:44:30 +0100
commit40e576e29cf6f06d6b5244c5d1df34cf33b1f556 (patch)
treefba1db80c9a79a2abd00c587b861bb37ef7ca31b /tests/rest/client/test_identity.py
parentMove admin API to a new prefix (diff)
downloadsynapse-40e576e29cf6f06d6b5244c5d1df34cf33b1f556.tar.xz
Move admin api impl to its own package
It doesn't really belong under rest/client/v1 any more.
Diffstat (limited to 'tests/rest/client/test_identity.py')
-rw-r--r--tests/rest/client/test_identity.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/rest/client/test_identity.py b/tests/rest/client/test_identity.py
index ca63b2e6ed..d4fe0aee7d 100644
--- a/tests/rest/client/test_identity.py
+++ b/tests/rest/client/test_identity.py
@@ -15,7 +15,8 @@
 
 import json
 
-from synapse.rest.client.v1 import admin, login, room
+import synapse.rest.admin
+from synapse.rest.client.v1 import login, room
 
 from tests import unittest
 
@@ -23,7 +24,7 @@ from tests import unittest
 class IdentityTestCase(unittest.HomeserverTestCase):
 
     servlets = [
-        admin.register_servlets,
+        synapse.rest.admin.register_servlets,
         room.register_servlets,
         login.register_servlets,
     ]