You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
13 years ago
..
__init__.py Use unittest2 for Python 2.6. 13 years ago
dummy_settings.py Added tests for config file loading 13 years ago
fixtures.py Implement the get_current_job() function. 13 years ago
helpers.py Simplify the persistence of jobs. 14 years ago
test_connection.py New connection management. 13 years ago
test_decorator.py Rename the const. 13 years ago
test_job.py Always call job.save even on synchronous queues so get_current_job doesn't fail 13 years ago
test_queue.py Refactor dequeue_any to accept arbitrary timeouts 13 years ago
test_scripts.py Use unittest2 for Python 2.6. 13 years ago
test_worker.py Add test for custom exc handling. 13 years ago