django-axes/axes
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
..
locale Turkish translation added 2019-01-12 21:05:21 +03:00
management Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
migrations Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
tests Add tests for the new components 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
admin.py Use decorator syntax for admin views 2019-02-07 18:42:53 +02:00
apps.py Pluggable signal handler backend for lockouts 2019-02-07 22:13:30 +02:00
attempts.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
backends.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
checks.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
conf.py Pluggable signal handler backend for lockouts 2019-02-07 22:13:30 +02:00
decorators.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
exceptions.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
handlers.py Pluggable signal handler backend for lockouts 2019-02-07 22:13:30 +02:00
middleware.py Use PEP257 compliant docstrings 2019-02-07 18:42:54 +02:00
models.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
signals.py Pluggable signal handler backend for lockouts 2019-02-07 22:13:30 +02:00
test_settings.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
test_urls.py Improve line separator conventions 2019-02-07 18:42:53 +02:00
utils.py Deprecate old signature for AXES_USERNAME_CALLABLE and update documentation 2019-02-07 22:09:21 +02:00