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/module_api | |
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/module_api')
-rw-r--r-- | tests/module_api/test_api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py index 058ca57e55..b0f3f4374d 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py @@ -336,7 +336,8 @@ class ModuleApiTestCase(HomeserverTestCase): # Test sending local online presence to users from the main process _test_sending_local_online_presence_to_local_user(self, test_with_workers=False) - @override_config({"send_federation": True}) + # Enable federation sending on the main process. + @override_config({"federation_sender_instances": None}) def test_send_local_online_presence_to_federation(self): """Tests that send_local_presence_to_users sends local online presence to remote users.""" # Create a user who will send presence updates |