summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | rename start/finish and start/end args to min/max on all stream commandsAndy McCurdy2018-10-311-9/+9
| | | | | | | | | | | | | | | this is consistent with the rest of the library and is clearer terminology to the end user
| * | refactor a bunch of the tests.Andy McCurdy2018-10-311-135/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | | - split out tests for each client function - alphabetize - make sure response callbacks return system info dicts with native string keys rather than byte strings. - make sure empty versions of commands that typically return a list return an empty list when streams or messages don't exist
| * | reorganize stream testsAndy McCurdy2018-10-311-114/+103
| | |
| * | XREAD and XREADGROUP return empty lists when the server returns no messagesRoey Prat2018-10-311-1/+1
| | |
| * | XPENDING parse response and unit testRoey Prat2018-10-311-0/+21
| | |
| * | fix XCLAIM to handle justid parameter correctlyRoey Prat2018-10-311-0/+3
| | |
| * | remove code duplicationRoey Prat2018-10-311-30/+0
| | |
| * | XREAD and XREADGROUP should take streams as a required dict arg rather than ↵Roey Prat2018-10-311-4/+4
| | | | | | | | | | | | kwargs
| * | unit test for xclaimRoey Prat2018-10-281-0/+15
| | |
| * | allow list based iterating on XREADGROUP resultsRoey Prat2018-10-281-3/+4
| | |
| * | XADD key/value pairs of the entry should be specified as a single dict arg ↵Roey Prat2018-10-281-14/+14
| | | | | | | | | | | | rather than kwargs
| * | Implements XREADGROUPRoey Prat2018-10-281-6/+16
| | |
| * | Implements XTRIMItamar Haber2018-10-281-0/+16
| | |
| * | Implements XDELItamar Haber2018-10-281-0/+14
| | |
| * | Implements XACKItamar Haber2018-10-281-0/+10
| | |
| * | Implements XINFORoey Prat2018-10-281-8/+10
| | |
| * | Fixes to test_strict_xrangeRoey Prat2018-10-281-2/+2
| | |
| * | run tests of commands added in redis 5, if redis>=5Roey Prat2018-10-281-4/+4
| | |
| * | Implement XGROUPRoey Prat2018-10-281-0/+65
| | |
| * | xread: block parameter may be set to zero, to block indefinitelyRoey Prat2018-10-281-1/+1
| | |
| * | Added support for StreamsNick Farrell2018-10-281-0/+62
| |/ | | | | | | | | | | | | | | This includes: XADD, XREAD, XRANGE, XREVRANGE, XLEN. See http://antirez.com/news/114 for more information. Consumer groups is not yet supported, as its details are still being finalised upstream.
* | Remove reason arg from client_unblock. Use boolean 'error' arg instead.Roey Prat2018-11-041-4/+2
| |
* | Adds unblock reason supportItamar Haber2018-10-051-1/+5
| | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | Adds CLIENT UNBLOCKItamar Haber2018-10-051-0/+5
| | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | Adds support for CLIENT IDItamar Haber2018-10-051-0/+4
|/ | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* wrote tests for multi output spop commandAlireza2017-10-101-0/+11
|
* clientlist response, client_name value might contain the '=' character, in ↵swilly222017-09-221-0/+8
| | | | that case the response parser will fail
* Merge pull request #810 from r0fls/zcount-exclusive-rangeAndy McCurdy2017-08-161-0/+2
|\ | | | | test zcount exclusive range
| * test zcount exclusive rangeRaphael Deem2016-12-221-0/+2
| |
* | GEOPOS returns different values from redis 3.2 to redis 4.0Andy McCurdy2017-08-151-2/+7
| | | | | | | | | | update test suite to test the appropriate return type based on server version
* | fix problem when using geopos on unexistent hash memberAbraham Toriz2017-08-101-0/+4
| |
* | skip HSTRLEN tests if server < 3.2.0Andy McCurdy2017-07-311-0/+1
| |
* | Implement HSTRLEN commandAleksandr Putilin2017-07-211-0/+5
|/
* Merge pull request #698 from mumumu/add_replace_option_to_restore_commandAndy McCurdy2016-06-151-0/+10
|\ | | | | implemented REPLACE modifier of restore command
| * - added replace option to restore commandYoshinari Takaoka2015-12-281-0/+10
| |
* | Fixed issues regarding Python3pfreixes2016-06-141-1/+1
| |
* | Geo Commands, return Python native typesPau Freixes2016-06-141-18/+51
| |
* | Implemented support for the GEO commands for Redis 3.2.0pfreixes2016-05-161-0/+133
| | | | | | | | | | The following commands have been implemented GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER.
* | pep8 codeiandyh2016-02-191-10/+11
| |
* | redis cluster commandsiandyh2015-12-011-0/+50
|/
* fix getitem syntax for redis get when value is the empty stringJavier Candeira2015-11-251-0/+4
|
* -added zrevrangebylexChristian Bodt2015-10-201-0/+11
|
* Fix tests under Redis 3.x; we can be of an "embedded string" format now.Chris Lamb2015-08-181-1/+1
| | | | Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
* support multiple keys for pfcount callChris Wilkes2015-05-221-0/+4
|
* fix testsNickolai Novik2014-06-211-4/+4
|
* bitpos command implementationNickolai Novik2014-06-211-0/+22
|
* more love for testing on servers w/ other connected clientsAndy McCurdy2014-05-121-15/+18
|
* be better about testing on servers where there may be other connected clientsAndy McCurdy2014-05-121-2/+4
|
* fix expireat tests to factor in rounding time upAndy McCurdy2014-05-101-4/+4
|
* *SCAN cursor values are now longs (ints on Python3) rather than strings.Andy McCurdy2014-05-101-4/+4
| | | | fixes #474.