summaryrefslogtreecommitdiff
path: root/tests/test_pipeline.py
Commit message (Collapse)AuthorAgeFilesLines
* fix order of zincrby args to match redis serverAndy McCurdy2018-11-141-1/+1
| | | | fixes #571
* remove legacy Redis classAndy McCurdy2018-11-131-2/+6
| | | | | | | | | | | | | | | | | | | redis-py maintained backwards compatibility by keeping the old "Redis" class around for quite some time. While no doubt a convenience for folks who relied on it, the presence of both Redis and StrictRedis causes a number of support issues and general confusion. With 3.0, we're breaking a few things to make redis-py better going forward. This change removes the old Redis class. We also renamed the StrictRedis class to Redis and aliased StrictRedis to Redis. For people that have been using StrictRedis, this should not change anything. You can continue doing things as you are. People still using the legacy Redis class will need to update the argument order for the SETEX, LREM and ZADD commands. Additionally, the return values for TTL and PTTL now return the integer values -1 when a key exists but has no expire time and -2 when a key does not exist. Previously these cases returned a None value in the Redis class.
* confirm bitfield works with pipelinesAndy McCurdy2018-11-061-0/+17
|
* Merge branch 'pr/916' into drop26Andy McCurdy2018-11-061-24/+24
|\
| * Use unicode literals throughout projectJon Dufresne2018-11-031-23/+24
| | | | | | | | Remove workaround for handling unicode with older Pythons.
| * Remove from __future__ import with_statementJon Dufresne2018-11-031-1/+0
| | | | | | | | All supported Python versions support the with statement.
* | add test for non-transaction pipelines as wellAndy McCurdy2018-11-041-2/+16
| |
* | hook for graceful command failure, even in pipelinesAndy McCurdy2018-11-041-0/+14
|/ | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided
* Add extra info to exceptions raised in pipelines. Fixes #407Andy McCurdy2013-12-081-4/+28
| | | | | | | | | ResponseErrors generated by commands executed in a pipeline now includes the command position in the pipeline and the actual command sent to the Redis server. For example: Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from Redis server>
* pipeline tests converted to pytestandy2013-06-041-0/+202