django-axes/axes/tests
Aleksi Häkli e69d479f6a
Refactor handlers to a more pluggable format
- Define a base handler API with method signatures
- Move proxy handler to a separate path for importability
- Implement a database handler with clean external dependencies
- Change the authentication backend and decorators to use the authentication backend

This enables clean pluggable authentication backend definitions that users
can override and specialize with e.g. cached handlers in their own packages.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-22 19:55:57 +02:00
..
__init__.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
settings.py Use pytest for test runner 2019-02-20 23:05:21 +02:00
test_attempt.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
test_backends.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
test_checks.py Clean up and unify imports 2019-02-10 22:06:04 +02:00
test_decorators.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
test_handlers.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
test_logging.py Rename Axes appconfig startup method to initialize 2019-02-22 19:55:22 +02:00
test_login.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
test_management.py Improve management test branch coverage 2019-02-10 20:05:02 +02:00
test_middleware.py Add tests for the new components 2019-02-10 19:22:13 +02:00
test_models.py Remove redundant AccessAttempt.failures property 2019-02-22 19:55:10 +02:00
test_utils.py Refactor handlers to a more pluggable format 2019-02-22 19:55:57 +02:00
urls.py Use pytest for test runner 2019-02-20 23:05:21 +02:00