mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 03:44:56 -04:00
Move admin api impl to its own package
It doesn't really belong under rest/client/v1 any more.
This commit is contained in:
parent
8e9ca83537
commit
40e576e29c
19 changed files with 67 additions and 42 deletions
|
@ -16,8 +16,8 @@
|
|||
|
||||
from twisted.internet.defer import succeed
|
||||
|
||||
import synapse.rest.admin
|
||||
from synapse.api.constants import LoginType
|
||||
from synapse.rest.client.v1 import admin
|
||||
from synapse.rest.client.v2_alpha import auth, register
|
||||
|
||||
from tests import unittest
|
||||
|
@ -27,7 +27,7 @@ class FallbackAuthTests(unittest.HomeserverTestCase):
|
|||
|
||||
servlets = [
|
||||
auth.register_servlets,
|
||||
admin.register_servlets,
|
||||
synapse.rest.admin.register_servlets,
|
||||
register.register_servlets,
|
||||
]
|
||||
hijack_auth = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue