diff options
author | Andrej Shadura <andrewsh@debian.org> | 2022-12-24 15:26:09 +0100 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2022-12-24 15:26:09 +0100 |
commit | edc94df0f3cbbf133d2f3c8e5b5a93f8acff8f59 (patch) | |
tree | 6d189553ed189d3faaf1d21bc79e09560351ce15 /tests/handlers/test_user_directory.py | |
parent | 2fda3c9076591071f4d3f0ac35c7383ecdf96454 (diff) |
New upstream version 1.74.0
Diffstat (limited to 'tests/handlers/test_user_directory.py')
-rw-r--r-- | tests/handlers/test_user_directory.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/handlers/test_user_directory.py b/tests/handlers/test_user_directory.py index 9e39cd97..75fc5a17 100644 --- a/tests/handlers/test_user_directory.py +++ b/tests/handlers/test_user_directory.py @@ -56,7 +56,8 @@ class UserDirectoryTestCase(unittest.HomeserverTestCase): def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer: config = self.default_config() - config["update_user_directory"] = True + # Re-enables updating the user directory, as that function is needed below. + config["update_user_directory_from_worker"] = None self.appservice = ApplicationService( token="i_am_an_app_service", @@ -1045,7 +1046,9 @@ class TestUserDirSearchDisabled(unittest.HomeserverTestCase): def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer: config = self.default_config() - config["update_user_directory"] = True + # Re-enables updating the user directory, as that function is needed below. It + # will be force disabled later + config["update_user_directory_from_worker"] = None hs = self.setup_test_homeserver(config=config) self.config = hs.config |