-
- Downloads
Replace simple_async_mock with AsyncMock (#16180)
Python 3.8 has a native AsyncMock, use it instead of a custom implementation.
Showing
- changelog.d/16180.misc 1 addition, 0 deletionschangelog.d/16180.misc
- tests/api/test_auth.py 49 additions, 48 deletionstests/api/test_auth.py
- tests/appservice/test_appservice.py 16 additions, 15 deletionstests/appservice/test_appservice.py
- tests/appservice/test_scheduler.py 23 additions, 20 deletionstests/appservice/test_scheduler.py
- tests/events/test_presence_router.py 2 additions, 3 deletionstests/events/test_presence_router.py
- tests/handlers/test_appservice.py 4 additions, 4 deletionstests/handlers/test_appservice.py
- tests/handlers/test_cas.py 5 additions, 6 deletionstests/handlers/test_cas.py
- tests/handlers/test_oauth_delegation.py 21 additions, 21 deletionstests/handlers/test_oauth_delegation.py
- tests/handlers/test_oidc.py 3 additions, 3 deletionstests/handlers/test_oidc.py
- tests/handlers/test_saml.py 6 additions, 7 deletionstests/handlers/test_saml.py
- tests/module_api/test_api.py 3 additions, 6 deletionstests/module_api/test_api.py
- tests/push/test_bulk_push_rule_evaluator.py 2 additions, 3 deletionstests/push/test_bulk_push_rule_evaluator.py
- tests/rest/client/test_notifications.py 2 additions, 3 deletionstests/rest/client/test_notifications.py
- tests/storage/test_background_update.py 2 additions, 3 deletionstests/storage/test_background_update.py
- tests/test_utils/__init__.py 1 addition, 18 deletionstests/test_utils/__init__.py
Loading
Please register or sign in to comment