anonymousland-synapse/tests/handlers
Sean Quah 0b684b59e5
Fix logging of incorrect status codes for disconnected requests (#12580)
The status code of requests must always be set, regardless of client
disconnection, otherwise they will always be logged as 200!.

Broken for `respond_with_json` in
f48792eec4.
Broken for `respond_with_json_bytes` in
3e58ce72b4.
Broken for `respond_with_html_bytes` in
ea26e9a98b.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-28 15:49:50 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
oidc_test_key.p8 JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
oidc_test_key.pub.pem JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
test_admin.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_appservice.py Bound ephemeral events by key (#12544) 2022-04-26 20:14:21 +01:00
test_auth.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_cas.py Fix logging of incorrect status codes for disconnected requests (#12580) 2022-04-28 15:49:50 +00:00
test_deactivate_account.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_device.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_directory.py Add type hints to some tests/handlers files. (#12224) 2022-03-15 09:16:37 -04:00
test_e2e_keys.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
test_e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_federation_event.py Optimise _get_state_after_missing_prev_event: use /state (#12040) 2022-04-01 12:53:42 +01:00
test_federation.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_message.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_oidc.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_password_providers.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
test_presence.py Prevent a sync request from removing a user's busy presence status (#12213) 2022-04-13 16:21:07 +01:00
test_profile.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_receipts.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_register.py Remove unused # type: ignores (#12531) 2022-04-27 14:03:44 +01:00
test_room_summary.py Do not return allowed_room_ids from /hierarchy response. (#12175) 2022-03-08 08:09:11 -05:00
test_room.py Pull out encrypted_by_default tests from user_directory tests (#10752) 2021-09-06 11:37:54 +01:00
test_saml.py Fix logging of incorrect status codes for disconnected requests (#12580) 2022-04-28 15:49:50 +00:00
test_send_email.py Fix incompatibility with Twisted < 21. (#10713) 2021-08-27 16:33:41 +01:00
test_stats.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_sync.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_typing.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
test_user_directory.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00