diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-05-02 10:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 10:11:59 +0100 |
commit | 1df2f80367fa90a9ab47bb5bd992c1ac87f3cb80 (patch) | |
tree | aa634a3c79793a2d85a3343eb81a3b3f51a48cbe /tests/server_notices/test_consent.py | |
parent | Merge pull request #5116 from matrix-org/babolivier/account_expiration (diff) | |
parent | fix examples (diff) | |
download | synapse-1df2f80367fa90a9ab47bb5bd992c1ac87f3cb80.tar.xz |
Merge pull request #5119 from matrix-org/rav/admin_api_urls
Move the admin API to `/_synapse/admin/v1`
Diffstat (limited to 'tests/server_notices/test_consent.py')
-rw-r--r-- | tests/server_notices/test_consent.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server_notices/test_consent.py b/tests/server_notices/test_consent.py index 95badc985e..e8b8ac5725 100644 --- a/tests/server_notices/test_consent.py +++ b/tests/server_notices/test_consent.py @@ -12,8 +12,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - -from synapse.rest.client.v1 import admin, login, room +import synapse.rest.admin +from synapse.rest.client.v1 import login, room from synapse.rest.client.v2_alpha import sync from tests import unittest @@ -23,7 +23,7 @@ class ConsentNoticesTests(unittest.HomeserverTestCase): servlets = [ sync.register_servlets, - admin.register_servlets, + synapse.rest.admin.register_servlets, login.register_servlets, room.register_servlets, ] |