MatrixSynapse/synapse/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
..
ui_auth
__init__.py
_base.py
account_data.py
account_validity.py
acme.py
acme_issuing_service.py
admin.py
appservice.py
auth.py
cas_handler.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py
e2e_room_keys.py
events.py
federation.py
groups_local.py
identity.py
initial_sync.py
message.py
oidc_handler.py
pagination.py
password_policy.py
presence.py
profile.py
read_marker.py
receipts.py
register.py
room.py
room_list.py
room_member.py
room_member_worker.py
saml_handler.py Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
search.py
set_password.py
sso.py
state_deltas.py
stats.py
sync.py
typing.py
user_directory.py