0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 04:13:46 +01:00
synapse/tests/test_utils
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
..
__init__.py Refactor OIDC tests to better mimic an actual OIDC provider. (#13910) 2022-10-25 14:25:02 +00:00
event_injection.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
html_parsers.py Use inline type hints in tests/ (#10350) 2021-07-13 11:52:58 +01:00
logging_setup.py Remove unused # type: ignores (#12531) 2022-04-27 14:03:44 +01:00
oidc.py Refactor OIDC tests to better mimic an actual OIDC provider. (#13910) 2022-10-25 14:25:02 +00:00