synapse/tests/events
Eric Eastwood 28a948f04f
Removed request_key from the SyncConfig (moved outside as its own function parameter) (#17201)
Removed `request_key` from the `SyncConfig` (moved outside as its own function parameter) so it doesn't have to flow into `_generate_sync_entry_for_xxx` methods. This way we can separate the concerns of caching from generating the response and reuse the `_generate_sync_entry_for_xxx` functions as we see fit. Plus caching doesn't really have anything to do with the config of sync.

Split from https://github.com/element-hq/synapse/pull/17167

Spawning from https://github.com/element-hq/synapse/pull/17167#discussion_r1601497279
2024-05-16 11:54:46 -05:00
..
__init__.py Add some unit tests of prune_events() 2015-10-16 19:56:46 +01:00
test_presence_router.py Removed request_key from the SyncConfig (moved outside as its own function parameter) (#17201) 2024-05-16 11:54:46 -05:00
test_snapshot.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_utils.py Add support for MSC4115 (#17104) 2024-04-29 15:22:13 +01:00