MatrixSynapse/tests/storage
David Robertson 3aefc7b66d
Refactor user directory tests (#10935)
* Pull out GetUserDirectoryTables helper
* Don't rebuild the dir in tests that don't need it

In #10796 I changed registering a user to add directory entries under.
This means we don't have to force a directory regbuild in to tests of
the user directory search.

* Move test_initial to tests/storage
* Add type hints to both test_user_directory files

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2021-09-30 11:04:40 +01:00
..
databases Populate `rooms.creator` field for easy lookup (#10697) 2021-09-01 16:27:58 +01:00
__init__.py
test__base.py
test_account_data.py
test_appservice.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
test_background_update.py Use inline type hints in `tests/` (#10350) 2021-07-13 11:52:58 +01:00
test_base.py
test_cleanup_extrems.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
test_client_ips.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_database.py
test_devices.py
test_directory.py [pyupgrade] `tests/` (#10347) 2021-07-13 11:43:15 +01:00
test_e2e_room_keys.py
test_end_to_end_keys.py
test_event_chain.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_event_federation.py Prune inbound federation queues if they get too long (#10390) 2021-08-02 13:37:25 +00:00
test_event_metrics.py
test_event_push_actions.py Skip handling of push actions for outlier events (#10780) 2021-09-08 15:18:35 +01:00
test_events.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_id_generators.py Use inline type hints in `tests/` (#10350) 2021-07-13 11:52:58 +01:00
test_keys.py
test_main.py
test_monthly_active_users.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
test_profile.py [pyupgrade] `tests/` (#10347) 2021-07-13 11:43:15 +01:00
test_purge.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_redaction.py Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 2021-07-26 12:17:00 -04:00
test_registration.py
test_room.py [pyupgrade] `tests/` (#10347) 2021-07-13 11:43:15 +01:00
test_room_search.py Treat "\u0000" as "\u0020" for the purposes of message search (message indexing) (#10820) 2021-09-22 08:25:26 -07:00
test_roommember.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_state.py Make StateFilter frozen so we can hash it (#10816) 2021-09-14 16:35:53 +01:00
test_transactions.py
test_txn_limit.py Fix codestyle CI from #10440 (#10511) 2021-08-02 15:50:22 +00:00
test_user_directory.py Refactor user directory tests (#10935) 2021-09-30 11:04:40 +01:00