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.
Vincent Driessen 54254f2271 Patch the connection instances.
This patches the connection object (which is either a StrictRedis
instance or a Redis instance), to have alternative class methods that
behave exactly like their StrictRedis counterparts, no matter whether
which type the object is.  Only the ambiguous methods are patched.  The
exhaustive list:

- _zadd          (fixes argument order)
- _lrem          (fixes argument order)
- _setex         (fixes argument order)
- _pipeline      (always returns a StrictPipeline)
- _ttl           (fixes return value)
- _pttl          (fixes return value)

This makes it possible to call the methods reliably without polluting
the RQ code any further.
12 years ago
..
__init__.py Patch the connection instances. 12 years ago
dummy_settings.py Added tests for config file loading 12 years ago
fixtures.py Implement the get_current_job() function. 12 years ago
helpers.py Simplify the persistence of jobs. 13 years ago
test_connection.py New connection management. 13 years ago
test_decorator.py Rename the const. 12 years ago
test_job.py Always call job.save even on synchronous queues so get_current_job doesn't fail 12 years ago
test_queue.py I like this implementation of an 'enum' better. 13 years ago
test_scripts.py Use unittest2 for Python 2.6. 12 years ago
test_worker.py Patch the connection instances. 12 years ago