diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-17 11:43:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-17 14:15:14 +0100 |
commit | ca87ad1defac1082462367854cb4a656b7a96e90 (patch) | |
tree | 984d755964805ec8bf6afade36645b93097d811a /tests/handlers | |
parent | Remote profile cache should remain in master worker (diff) | |
download | synapse-ca87ad1defac1082462367854cb4a656b7a96e90.tar.xz |
Split ProfileHandler into master and worker
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index dc17918a3d..07cf5f4c8e 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -20,7 +20,7 @@ from twisted.internet import defer import synapse.types from synapse.api.errors import AuthError -from synapse.handlers.profile import ProfileHandler +from synapse.handlers.profile import MasterProfileHandler from synapse.types import UserID from tests import unittest @@ -29,7 +29,7 @@ from tests.utils import setup_test_homeserver class ProfileHandlers(object): def __init__(self, hs): - self.profile_handler = ProfileHandler(hs) + self.profile_handler = MasterProfileHandler(hs) class ProfileTestCase(unittest.TestCase): |