MatrixSynapse/tests/handlers
Richard van der Hoff 01333681bc
Preparatory refactoring of the SamlHandlerTestCase (#8938)
* move simple_async_mock to test_utils

... so that it can be re-used

* Remove references to `SamlHandler._map_saml_response_to_user` from tests

This method is going away, so we can no longer use it as a test point. Instead,
factor out a higher-level method which takes a SAML object, and verify correct
behaviour by mocking out `AuthHandler.complete_sso_login`.

* changelog
2020-12-15 20:56:10 +00:00
..
__init__.py
test_admin.py
test_appservice.py
test_auth.py
test_device.py
test_directory.py
test_e2e_keys.py
test_e2e_room_keys.py
test_federation.py
test_message.py
test_oidc.py Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
test_password_providers.py
test_presence.py
test_profile.py
test_register.py
test_saml.py Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
test_stats.py
test_sync.py
test_typing.py
test_user_directory.py