synapse/tests/federation
Sean Quah 9d8e380d2e
Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet`s (#12699)
Both `RestServlet`s and `BaseFederationServlet`s register their handlers
with `HttpServer.register_paths` / `JsonResource.register_paths`. Update
`JsonResource` to respect the `@cancellable` flag on handlers registered
in this way.

Although `ReplicationEndpoint` also registers itself using
`register_paths`, it does not pass the handler method that would have the
`@cancellable` flag directly, and so needs separate handling.

Signed-off-by: Sean Quah <seanq@element.io>
2022-05-11 12:25:13 +01:00
..
transport Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet`s (#12699) 2022-05-11 12:25:13 +01:00
__init__.py Implementation of server_acls 2018-07-04 19:06:20 +01:00
test_complexity.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_federation_catch_up.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
test_federation_client.py Prefer `make_awaitable` over `defer.succeed` in tests (#12505) 2022-04-27 14:58:26 +01:00
test_federation_sender.py Prefer `make_awaitable` over `defer.succeed` in tests (#12505) 2022-04-27 14:58:26 +01:00
test_federation_server.py Back out implementation of MSC2314 (#12474) 2022-04-19 11:17:29 +00:00