synapse-product/synapse
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
..
_scripts Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
api Fix AuthBlocking check when requester is appservice (#10881) 2021-09-24 10:41:18 +01:00
app Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
crypto Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
events Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
federation add event id to logcontext when handling incoming PDUs (#10936) 2021-09-29 11:59:43 +01:00
groups Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
handlers Split event_auth.check into two parts (#10940) 2021-09-29 18:59:15 +01:00
http Synapse 1.44.0rc1 (2021-09-29) 2021-09-29 14:23:39 +01:00
logging Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
metrics [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
module_api Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
push Encode JSON responses on a thread in C, mk2 (#10905) 2021-09-28 09:37:58 +00:00
replication Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
res Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
rest Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
server_notices Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Split event_auth.check into two parts (#10940) 2021-09-29 18:59:15 +01:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Refactor user directory tests (#10935) 2021-09-30 11:04:40 +01:00
streams Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
util Update utility code to handle C implementations of frozendict (#10902) 2021-09-28 09:13:23 -07:00
__init__.py 1.44.0rc1 2021-09-28 13:42:21 +01:00
event_auth.py Split event_auth.check into two parts (#10940) 2021-09-29 18:59:15 +01:00
notifier.py Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
python_dependencies.py Validate new m.room.power_levels events (#10232) 2021-08-26 17:07:58 +01:00
server.py Use direct references for some configuration variables (part 2) (#10812) 2021-09-15 08:34:52 -04:00
types.py Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00