django-axes/axes
Jack Sullivan 95917a951e In tests, only set cooldown if testing it
The results for the cache unit tests were inconsistent, sometimes
blocking and other time allowing. The source of the non-determinism
was the COOLDOWN_TIME set to 2 seconds in the test. If a test took
slightly longer than the cooldown time, it would fail. Testing times
on Travis CI vary with each build, and would produce unreliable
results.

Now all tests have no cooldown period, except when the cooldown
itself is being tested. This ensures accurate and predicable test
results.
2017-04-26 12:49:44 -07:00
..
management Reset lockouts for user 2016-10-24 12:24:32 +03:00
migrations BUGFIX: Missing migration 2016-05-12 15:14:23 -07:00
__init__.py Bump version 2016-11-24 08:55:38 -05:00
admin.py AccessAttempts and AccessLogs should neither be addable nor editable 2016-08-18 12:11:28 +02:00
apps.py ☀️ Migrated from Middleware and added support for django 1.10 2016-06-24 11:31:01 -05:00
decorators.py Fixed UTF-8 encoding bug. 2017-04-26 09:11:11 -07:00
models.py 🔥 Clean weird logic when processing proxy ips 2016-07-20 11:38:37 -05:00
settings.py Fixed #221 -- Add AXES_NUM_PROXIES setting 2017-04-06 19:50:54 +03:00
signals.py Add signals for setting/deleting cache keys 2016-12-06 19:41:04 -05:00
test_settings.py In tests, only set cooldown if testing it 2017-04-26 12:49:44 -07:00
test_settings_proxy.py Fix and add tests for IPv4 and IPv6 parsing 2016-11-21 21:33:55 +02:00
test_settings_proxy_custom_header.py Fix and add tests for IPv4 and IPv6 parsing 2016-11-21 21:33:55 +02:00
test_urls.py ☀️ Migrated from Middleware and added support for django 1.10 2016-06-24 11:31:01 -05:00
tests.py In tests, only set cooldown if testing it 2017-04-26 12:49:44 -07:00
utils.py Delete cache key in reset command line 2016-12-06 20:01:44 -05:00