summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix stupid linter warningbitfieldAndy McCurdy2018-11-071-4/+4
|
* added better overflow control and lifecycle mgmt to bitfieldsAndy McCurdy2018-11-071-18/+45
| | | | | | | | | | - bitfields now accept a `default_overflow` argument that sets the default overflow behavior for incrby operations - exposed an overflow() method that sets the overflow behavior for future incrby operations. this can be used in place of the overfly argument to incrby if someone prefers - clean up bitfield instance upon execution, resetting the overflow behavior back to the default provided and clearing the list of operations
* confirm bitfield works with pipelinesAndy McCurdy2018-11-061-0/+17
|
* support for the bitfield command thanks to Charles LeiferAndy McCurdy2018-11-061-0/+35
|
* Merge branch 'pr/916' into drop26Andy McCurdy2018-11-068-313/+309
|\
| * Use unicode literals throughout projectJon Dufresne2018-11-035-304/+308
| | | | | | | | Remove workaround for handling unicode with older Pythons.
| * Use set literals instead of set([...])Jon Dufresne2018-11-031-34/+34
| |
| * Remove from __future__ import with_statementJon Dufresne2018-11-038-8/+0
| | | | | | | | All supported Python versions support the with statement.
* | Merge pull request #933 from yozel/masterAndy McCurdy2018-11-061-0/+15
|\ \ | | | | | | Add support for UNLINK command
| * | Add support for UNLINK commandYasin Ozel2017-12-011-0/+15
| | |
* | | Merge branch 'master' into v5-client-subcommandsAndy McCurdy2018-11-055-12/+530
|\ \ \
| * | | add test for non-transaction pipelines as wellAndy McCurdy2018-11-041-2/+16
| | | |
| * | | hook for graceful command failure, even in pipelinesAndy McCurdy2018-11-042-0/+15
| | |/ | |/| | | | | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided
| * | Merge pull request #985 from mmaslowskicc/from-url-max-connectionsAndy McCurdy2018-11-021-1/+2
| |\ \ | | | | | | | | Fix parsing max_connections URL query string parameter
| | * | Fix parsing max_connections URL query string parameterMichał Masłowski2018-05-231-1/+2
| | |/ | | | | | | | | | | | | Previously ConnectionPool.from_url kept it as a string, causing a 'ValueError: "max_connections" must be a positive integer'.
| * | added MKSTREAM option to xgroup_createAndy McCurdy2018-11-011-0/+22
| | |
| * | remove unncessary deletes at beginning of testsAndy McCurdy2018-11-011-8/+0
| | |
| * | Merge pull request #1037 from itamarhaber/zpopAndy McCurdy2018-11-011-0/+50
| |\ \ | | | | | | | | Adds support for ZPOPMAX, ZPOPMIN and their respective blocking variants
| | * | PEP8's itItamar Haber2018-10-051-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Converts score from string to floatItamar Haber2018-10-051-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Adds BZPOPMAX and BZPOPMINItamar Haber2018-10-051-0/+30
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Adds ZPOPMAX and ZPOPMINItamar Haber2018-10-051-0/+20
| | |/ | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | fix test that breaks if other clients are connected to the redis serverAndy McCurdy2018-11-011-4/+3
| | |
| * | python2 compatAndy McCurdy2018-10-311-3/+3
| | |
| * | python 2 likes binary regex hints specified as 'br' rather than 'rb'Andy McCurdy2018-10-311-1/+1
| | |
| * | avoid calling pytest fixtures directly since that's frowned uponAndy McCurdy2018-10-312-5/+6
| | |
| * | 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>