synapse-product/tests/federation
Richard van der Hoff c3db7a0b59
Tests: replace mocked Authenticator with the real thing (#11913)
If we prepopulate the test homeserver with a key for a remote homeserver, we
can make federation requests to it without having to stub out the
authenticator. This has two advantages:

 * means that what we are testing is closer to reality (ie, we now have
   complete tests for the incoming-request-authorisation flow)

 * some tests require that other objects be signed by the remote server (eg,
   the event in `/send_join`), and doing that would require a whole separate
   set of mocking out. It's much simpler just to use real keys.
2022-02-11 12:06:02 +00:00
..
transport Tests: replace mocked Authenticator with the real thing (#11913) 2022-02-11 12:06:02 +00:00
__init__.py Implementation of server_acls 2018-07-04 19:06:20 +01:00
test_complexity.py Tests: replace mocked Authenticator with the real thing (#11913) 2022-02-11 12:06:02 +00:00
test_federation_catch_up.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_federation_sender.py Send and handle cross-signing messages using the stable prefix. (#10520) 2021-12-08 10:01:38 +00:00
test_federation_server.py Tests: replace mocked Authenticator with the real thing (#11913) 2022-02-11 12:06:02 +00:00