synapse/tests
David Robertson 6ba732fefe
Type tests.utils (#13028)
* Cast to postgres types when handling postgres db

* Remove unused method

* Easy annotations

* Annotate create_room

* Use `ParamSpec` to annotate looping_call

* Annotate `default_config`

* Track `now` as a float

`time_ms` returns an int like the proper Synapse `Clock`

* Introduce a `Timer` dataclass

* Introduce a Looper type

* Suppress checking of a mock

* tests.utils is typed

* Changelog

* Whoops, import ParamSpec from typing_extensions

* ditch the psycopg2 casts
2022-07-05 15:13:47 +01:00
..
api Fix a long-standing bug which meant that rate limiting was not restrictive enough in some cases. (#13018) 2022-06-15 14:11:55 +00:00
app
appservice Remove remaining bits of groups code. (#12936) 2022-06-01 09:41:25 -04:00
config Reload cache factors from disk on SIGHUP (#12673) 2022-05-11 13:43:22 +00:00
crypto Remove direct refeferences to PyNaCl (use signedjson instead). (#12902) 2022-06-01 07:32:35 -04:00
events Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
federation Clean up the test code for client disconnections (#12929) 2022-06-07 18:17:32 +01:00
handlers Fix inconsistencies in event validation (#13088) 2022-06-17 16:30:59 +01:00
http Fix destination_is errors seen in sentry. (#13041) 2022-06-14 18:28:26 +01:00
logging More type hints for synapse.logging (#13103) 2022-06-30 13:05:06 +00:00
module_api Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
push Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
replication Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
rest annotate tests.server.FakeChannel (#13136) 2022-07-04 18:08:56 +01:00
scripts Add some type hints to tests files (#12833) 2022-05-23 11:23:26 +00:00
server_notices Decouple synapse.api.auth_blocking.AuthBlocking from synapse.api.auth.Auth. (#13021) 2022-06-14 09:51:15 +01:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Synapse 1.62.0rc3 (2022-07-04) 2022-07-04 17:35:06 +01:00
test_utils Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
util Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
__init__.py
server.py annotate tests.server.FakeChannel (#13136) 2022-07-04 18:08:56 +01:00
test_distributor.py
test_event_auth.py Fix inconsistencies in event validation (#13088) 2022-06-17 16:30:59 +01:00
test_federation.py
test_mau.py Remove remaining bits of groups code. (#12936) 2022-06-01 09:41:25 -04:00
test_metrics.py
test_phone_home.py
test_server.py Extra type annotations in test_server (#13124) 2022-06-28 12:12:17 +00:00
test_state.py Skip waiting for full state for incoming events (#13144) 2022-07-01 10:19:27 +01:00
test_terms_auth.py
test_test_utils.py
test_types.py Fix destination_is errors seen in sentry. (#13041) 2022-06-14 18:28:26 +01:00
test_visibility.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
unittest.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
utils.py Type tests.utils (#13028) 2022-07-05 15:13:47 +01:00