Skip to content
Snippets Groups Projects
Commit b136ee10 authored by Joseph Weston's avatar Joseph Weston
Browse files

Import 'admin' module rather than 'register_servlets' directly

We will later need also to import 'register_servlets' from the
'login' module, so we un-pollute the namespace now to keep the
logical changes separate.
parent ac61b45a
Branches
Tags
No related merge requests found
......@@ -20,14 +20,14 @@ import json
from mock import Mock
from synapse.api.constants import UserTypes
from synapse.rest.client.v1.admin import register_servlets
from synapse.rest.client.v1 import admin
from tests import unittest
class UserRegisterTestCase(unittest.HomeserverTestCase):
servlets = [register_servlets]
servlets = [admin.register_servlets]
def make_homeserver(self, reactor, clock):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment