django-axes/axes/tests
Aleksi Häkli fa7f35dda5
Add tests for the new components
Use mocks and test new backends, handlers and middleware
on an API call level, aiming for a 100% coverage on behaviour.

Also add tests for old decorators which are not covered
after moving the default authentication checks from them
to the authentication backends, middleware and signal handlers.

Fixes #323

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-10 19:22:13 +02:00
..
__init__.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
test_access_attempt.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
test_access_attempt_config.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
test_backends.py Add tests for the new components 2019-02-10 19:22:13 +02:00
test_checks.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
test_decorators.py Add tests for the new components 2019-02-10 19:22:13 +02:00
test_handlers.py Add tests for the new components 2019-02-10 19:22:13 +02:00
test_management.py Rename management tests 2019-02-10 19:22:13 +02:00
test_middleware.py Add tests for the new components 2019-02-10 19:22:13 +02:00
test_models.py Clean up database test case imports 2019-02-03 16:03:29 +02:00
test_utils.py Deprecate old signature for AXES_USERNAME_CALLABLE and update documentation 2019-02-07 22:09:21 +02:00