Ilan Steemers
7d5c9f8b46
removes xrange compat
2018-08-05 13:39:04 +02:00
Ilan Steemers
acebdaa850
Renames async/enqueue to async_task.
2018-08-01 15:20:34 +02:00
Pierre-Elliott Bécue
ae75a84f7f
Replaces async occurrences with alternatives
...
* async is now a reserved word in python3.7
* Rename async function to enqueue
* Rename all async_ functions to enqueue_
* Rename Async class to AsyncTask
* Updates the docs.
2018-07-07 21:33:43 +02:00
Ronald van Zon
dd4f02f122
Add custom SharedCounter / Queue
...
This will not fix anything related to Django 2.0 but will allow MAC
users to run Django-Q allowing tests to be run locally.
2017-12-13 14:36:12 +01:00
Benjamin Bach
5ea55e3718
Import python3 version of range
2017-07-09 21:44:25 +02:00
Harm Geerts
cf37efb1eb
Replace global Conf mangling with monkeypatch
...
The test suite, especially for the brokers, was heavily dependant on the
success of the tests preceeding it to pass. This commit should eliminate
that dependency and allow tests to fail without affecting others.
It also removes the need to cleanup globals manually after a test.
2016-11-29 18:08:52 +01:00
Ilan Steemers
e736d79a57
Adds global override test to Async
2015-10-27 11:10:46 +01:00
Ilan Steemers
9dd79f6522
Adds test for new Async class
2015-10-26 19:35:38 +01:00
Ilan Steemers
eb72eb33d9
Adds an Iter class
...
The Iter class serves as a convenience rwrapper around the `async_iter` function
2015-10-18 13:53:32 +02:00
Ilan Steemers
2df29b908c
Adds tests for task chains
...
adds several small improvements based on the problems that surfaced during writing the tests
2015-10-17 18:49:45 +02:00
Ilan Steemers
2ba88f2d17
adds cached option to async_iter
2015-10-06 19:37:02 +02:00
Ilan Steemers
edf188e7bc
adds async iter tests
2015-10-04 11:52:43 +02:00
Ilan Steemers
0c2da87e27
adds async iter tests
2015-10-04 11:49:07 +02:00
Ilan Steemers
9243731a9c
Updates test for new wait and count options
2015-10-02 20:03:38 +02:00
Ilan Steemers
f6d14bc7b3
adds delete_cached
2015-10-01 19:25:43 +02:00
Ilan Steemers
6127b551ae
fixes tests for cache with better coverage
2015-10-01 17:21:26 +02:00
Ilan Steemers
33282cb2e5
cached result backend
...
first version of a result backend using django's cache framework
2015-10-01 14:58:28 +02:00