forked-synapse/tests/rest
Quentin Gliech 9192d74b0b
Refactor OIDC tests to better mimic an actual OIDC provider. (#13910)
This implements a fake OIDC server, which intercepts calls to the HTTP client.
Improves accuracy of tests by covering more internal methods.

One particular example was the ID token validation, which previously mocked.

This uncovered an incorrect dependency: Synapse actually requires at least
authlib 0.15.1, not 0.14.0.
2022-10-25 14:25:02 +00:00
..
admin Show erasure status when listing users in the Admin API (#14205) 2022-10-21 13:52:44 +01:00
client Refactor OIDC tests to better mimic an actual OIDC provider. (#13910) 2022-10-25 14:25:02 +00:00
key Use servlets for /key/ endpoints. (#14229) 2022-10-20 11:32:47 -04:00
media Be more lenient in the oEmbed response parsing. (#14089) 2022-10-07 09:29:43 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_health.py Use literals in place of HTTPStatus constants in tests (#13463) 2022-08-05 16:59:09 +02:00
test_well_known.py Use literals in place of HTTPStatus constants in tests (#13463) 2022-08-05 16:59:09 +02:00