Commit graph

7 commits

Author SHA1 Message Date
Camilo Nova
ba37442252 Added support for Django signals, big code refactor and improvements 2017-11-17 17:15:34 -05:00
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
Camilo Nova
730857a158 ☀️ Migrated from Middleware and added support for django 1.10 2016-06-24 11:31:01 -05:00
Camilo Nova
41ad3cc806 Cleaned testing, removing global state and made some tweaks 2015-03-23 08:56:22 -05:00
Alexander Schrijver
bf208944fd Add tests for the cooling off period and for the cooling off period with
trusted users.
2013-08-14 11:29:15 +02:00
Camilo Nova
01edd72298 Improved tests so it really looks for the rabbit in the hole 2013-04-20 17:53:42 -05:00
Camilo Nova
58c3a82881 Added better testing schema 2013-03-16 16:09:55 -05:00