diff options
author | realtyem <realtyem@gmail.com> | 2022-12-01 06:38:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 07:38:27 -0500 |
commit | 854a6884d81c95297bf93badcddc00a4cab93418 (patch) | |
tree | a32b5c54f84ce615031e92ef1a0d997e0209caff /tests/handlers/test_presence.py | |
parent | Cite launchpad bug that says ubuntu's pkgs are old (#14517) (diff) | |
download | synapse-854a6884d81c95297bf93badcddc00a4cab93418.tar.xz |
Modernize unit tests configuration settings for workers. (#14568)
Use the newer foo_instances configuration instead of the deprecated flags to enable specific features (e.g. start_pushers).
Diffstat (limited to 'tests/handlers/test_presence.py')
-rw-r--r-- | tests/handlers/test_presence.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/handlers/test_presence.py b/tests/handlers/test_presence.py index c5981ff965..584e7b8971 100644 --- a/tests/handlers/test_presence.py +++ b/tests/handlers/test_presence.py @@ -992,7 +992,8 @@ class PresenceJoinTestCase(unittest.HomeserverTestCase): def default_config(self): config = super().default_config() - config["send_federation"] = True + # Enable federation sending on the main process. + config["federation_sender_instances"] = None return config def prepare(self, reactor, clock, hs): |