summary refs log tree commit diff
path: root/tests/handlers/test_profile.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-17 11:43:16 +0100
committerErik Johnston <erik@matrix.org>2018-08-17 14:15:14 +0100
commitca87ad1defac1082462367854cb4a656b7a96e90 (patch)
tree984d755964805ec8bf6afade36645b93097d811a /tests/handlers/test_profile.py
parentRemote profile cache should remain in master worker (diff)
downloadsynapse-ca87ad1defac1082462367854cb4a656b7a96e90.tar.xz
Split ProfileHandler into master and worker
Diffstat (limited to 'tests/handlers/test_profile.py')
-rw-r--r--tests/handlers/test_profile.py4
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):