diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-05-01 15:32:38 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-05-01 15:44:30 +0100 |
commit | 40e576e29cf6f06d6b5244c5d1df34cf33b1f556 (patch) | |
tree | fba1db80c9a79a2abd00c587b861bb37ef7ca31b /tests/rest/client/test_consent.py | |
parent | Move admin API to a new prefix (diff) | |
download | synapse-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_consent.py')
-rw-r--r-- | tests/rest/client/test_consent.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/rest/client/test_consent.py b/tests/rest/client/test_consent.py index 4294bbec2a..36e6c1c67d 100644 --- a/tests/rest/client/test_consent.py +++ b/tests/rest/client/test_consent.py @@ -15,8 +15,9 @@ import os +import synapse.rest.admin from synapse.api.urls import ConsentURIBuilder -from synapse.rest.client.v1 import admin, login, room +from synapse.rest.client.v1 import login, room from synapse.rest.consent import consent_resource from tests import unittest @@ -31,7 +32,7 @@ except Exception: class ConsentResourceTestCase(unittest.HomeserverTestCase): skip = "No Jinja installed" if not load_jinja2_templates else None servlets = [ - admin.register_servlets, + synapse.rest.admin.register_servlets, room.register_servlets, login.register_servlets, ] |