0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-24 04:34:08 +01:00
synapse/tests
Eric Eastwood 9b83fb7c16
Sliding Sync: Move filters tests to rest layer (#17703)
Move filters tests to rest layer in order to test the new (with sliding
sync tables) and fallback paths that Sliding Sync can use.

Also found a bug in the new path because it's not being tested which is
also fixed in this PR. We now take into account `has_known_state` when
filtering.

Spawning from
https://github.com/element-hq/synapse/pull/17662#discussion_r1755574791.
This should have been done when we started using the new sliding sync
tables in https://github.com/element-hq/synapse/pull/17630
2024-09-12 15:27:03 -05:00
..
api
app
appservice Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
config
crypto
events Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
federation Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
handlers Sliding Sync: Move filters tests to rest layer (#17703) 2024-09-12 15:27:03 -05:00
http Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
logging Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
media Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
metrics
module_api Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
push Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
replication Fix bug in sliding sync when using old DB. (#17398) 2024-07-08 20:30:23 +01:00
rest Sliding Sync: Move filters tests to rest layer (#17703) 2024-09-12 15:27:03 -05:00
scripts
server_notices
state
storage Sliding Sync: Use Sliding Sync tables for sorting (#17693) 2024-09-11 12:16:24 -05:00
test_utils Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
types
util Speed up SS room sorting (#17468) 2024-07-23 14:03:14 +01:00
__init__.py
server.py Use a larger, dedicated threadpool for media sending (#17564) 2024-08-13 17:59:47 +01:00
test_distributor.py
test_event_auth.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_federation.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_mau.py
test_phone_home.py
test_rust.py
test_server.py Upgrade locked dependency on Twisted to 24.7.0rc1. (#17502) 2024-07-30 15:23:23 +01:00
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_visibility.py
unittest.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
utils.py