MatrixSynapse/tests/handlers
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
..
__init__.py
oidc_test_key.p8
oidc_test_key.pub.pem
test_admin.py
test_appservice.py
test_auth.py
test_cas.py
test_device.py
test_directory.py
test_e2e_keys.py
test_e2e_room_keys.py
test_federation.py
test_message.py
test_oidc.py
test_password_providers.py
test_presence.py
test_profile.py
test_receipts.py
test_register.py
test_room.py
test_room_summary.py
test_saml.py
test_send_email.py
test_stats.py
test_sync.py
test_typing.py
test_user_directory.py Refactor user directory tests (#10935) 2021-09-30 11:04:40 +01:00