rq/tests
Yaniv Aknin 74c2351232 Refactor dequeue_any to accept arbitrary timeouts
The 'blocking' parameter was replaced with a 'timeout' parameter.

The timeout parameter is interpreted thus:
    0 - no timeout (block forever, equivalent to blocking=True)
    None - non-blocking (return value or None immediately, equivalent to
                         blocking=False)
    <integer> - maximum seconds to block

Upon timing out, a dequeue operation will raise DequeueTimeout.
2013-01-26 18:41:10 +02:00
..
__init__.py Use unittest2 for Python 2.6. 2013-01-23 22:43:30 +01:00
dummy_settings.py Added tests for config file loading 2012-11-24 14:53:22 +01:00
fixtures.py Implement the get_current_job() function. 2012-09-02 22:38:46 +02:00
helpers.py Simplify the persistence of jobs. 2012-02-10 17:18:51 +01:00
test_connection.py New connection management. 2012-03-23 15:10:49 +01:00
test_decorator.py Rename the const. 2012-09-14 09:56:10 +02:00
test_job.py Always call job.save even on synchronous queues so get_current_job doesn't fail 2012-11-25 13:37:12 +01:00
test_queue.py Refactor dequeue_any to accept arbitrary timeouts 2013-01-26 18:41:10 +02:00
test_scripts.py Use unittest2 for Python 2.6. 2013-01-23 22:43:30 +01:00
test_worker.py Add test for custom exc handling. 2012-08-29 13:21:48 +02:00