diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-23 10:37:38 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-23 10:37:38 +0000 |
commit | 7256def8e43bf5ab982cb7e785fb1334a1ef4ab8 (patch) | |
tree | 44c5eb1754851f7467bb1ec4a0ee7dee7524af17 /tests/rest/client/v1/test_profile.py | |
parent | Merge pull request #30 from matrix-org/client_api_restructure (diff) | |
download | synapse-7256def8e43bf5ab982cb7e785fb1334a1ef4ab8.tar.xz |
Merge rest servlets into the client json resource object
Diffstat (limited to 'tests/rest/client/v1/test_profile.py')
-rw-r--r-- | tests/rest/client/v1/test_profile.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_profile.py b/tests/rest/client/v1/test_profile.py index 47cfb10a6d..5b5c3edc22 100644 --- a/tests/rest/client/v1/test_profile.py +++ b/tests/rest/client/v1/test_profile.py @@ -25,6 +25,8 @@ from ....utils import MockHttpResource, MockKey from synapse.api.errors import SynapseError, AuthError from synapse.server import HomeServer +from synapse.rest.client.v1 import profile + myid = "@1234ABCD:test" PATH_PREFIX = "/_matrix/client/api/v1" @@ -61,7 +63,7 @@ class ProfileTestCase(unittest.TestCase): hs.get_handlers().profile_handler = self.mock_handler - hs.register_servlets() + profile.register_servlets(hs, self.mock_resource) @defer.inlineCallbacks def test_get_my_name(self): |