summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
Commit message (Collapse)AuthorAgeFilesLines
...
* CLIENT LIST fix to allow multiple client_ids (#1563)Chayim2021-09-011-3/+22
| | | | | | | | | * CLIENT LIST fix to allow multiple client_ids Support for CLIENT KILL with the USER filter Part of #1546 * test fix
* fixing timing issues in set pxat test (#1566)Chayim2021-09-011-2/+2
| | | closes #1561
* Adding DELUSER list of users support (#1562)Chayim2021-09-011-0/+17
| | | | | Adding support for ACL help Part of #1546
* Support for CLIENT TRACKINFO (#1560)Chayim2021-09-011-0/+6
| | | Part of #1546
* GEOSEARCH and GEOSEARCHSTORE (#1526)Avital Fine2021-09-011-81/+229
| | | | | | | | | | | | | * GEOSEARCH and GEOSEARCHSTORE * negative test * change georadius_generic to geosearch_generic * add documentations to the functions * add docstring to the parser * farest
* LPUSHX support for list, no API changes (#1559)Chayim2021-09-011-0/+9
| | | Part of #1546
* Adding support for GENPASS bits (#1558)Chayim2021-09-011-0/+8
| | | Part of #1546 commands.
* Support for QUIT (#1557)Chayim2021-09-011-0/+3
| | | Part of #1546
* bgsave schedule support (#1555)Chayim2021-09-011-0/+5
| | | | | bgsave tests Part of #1546
* Support for command count (#1554)Chayim2021-09-011-0/+6
| | | Part of #1546
* Adding EXAT and PXAT (unix time support) support for SET (#1547)Avital Fine2021-09-011-0/+12
| | | | | * set in unix time * update skip version
* xgroup_createconsumer (#1553)Avital Fine2021-08-301-0/+16
|
* Includes slowlog complexity info if available (#1489)Ian Bucad2021-08-291-0/+29
| | | | | | | | | | | | * Return slowlog complexity info if available based on https://github.com/andymccurdy/redis-py/pull/622 * Add tests Copied from https://github.com/andymccurdy/redis-py/pull/622 * address flake E306 * Trigger Build
* Stralgo (#1528)Avital Fine2021-08-291-0/+43
| | | | | | | | | | | | | | | | | * add support to STRALDO command * add tests * skip if version .. * new line * lower case * fix comments * callback * change to get
* #1434 Added support for ZMSCORE new in Redis 6.2 RC (#1437)Jiekun2021-08-291-0/+11
| | | | | | | | | | | | | | | * #1434 Added zmscore command support * #1434 Fixed typo and doc * #1434 Set [] as default value for members arg in zmscore func * #1434 Set None as default value for members arg in zmscore func * #1434 Removed default value for members arg in zmscore func * Fixed flake8 formatting Co-authored-by: jiekun.zhu <jiekun.zhu@shopee.com>
* Support MINID and LIMIT on XADD (#1548)Avital Fine2021-08-291-0/+50
| | | * MINID and LIMIT
* Zunion (#1522)Avital Fine2021-08-151-0/+20
| | | | | | | | | | | | | | | | | * zinter * change options in _zaggregate * skip for previous versions * add client function * validate the aggregate value * change options to get * add more aggregate tests * add weights guidance
* Adding support for CLIENT LIST with ID (#1505)Chayim2021-08-151-0/+8
|
* MINID and LIMIT support for xtrim (#1508)Chayim2021-08-151-0/+41
|
* implementing the LMOVE and BLMOVE commands (#1504)Chayim2021-08-151-0/+12
|
* Added GET argument to SET command (#1412)Jiekun2021-08-081-0/+8
|
* xautoclaim (#1529)Avital Fine2021-08-051-1/+47
|
* add idle to xpending (#1523)Avital Fine2021-08-051-0/+46
|
* Add a count parameter to lpop/rpop for redis >= 6.2.0 (#1487)Gal Ben David2021-08-051-0/+16
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Updating base testing docker to redis 6.2.5 (#1536)Chayim2021-08-051-7/+1
|
* fix getex flaky testsAvital Fine2021-08-051-1/+1
|
* zinter (#1520)Avital Fine2021-08-011-0/+22
| | | | | | | | | | | | | | | | | | | * zinter * change options in _zaggregate * skip for previous versions * flake8 * validate the aggregate value * invalid aggregation * invalid aggregation * change options to get Co-authored-by: Chayim <chayim@users.noreply.github.com>
* zdiff and zdiffstore (#1518)Avital Fine2021-07-291-0/+15
|
* Zrangestore (#1521)Avital Fine2021-07-291-0/+10
|
* LT and GT support for ZADD (#1509)Chayim2021-07-291-0/+17
| | | | Co-authored-by: malinaa96 <52569986+malinaa96@users.noreply.github.com> Co-authored-by: Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com>
* zrandmember (#1519)Avital Fine2021-07-251-0/+12
|
* getdel (#1514)Avital Fine2021-07-251-0/+7
|
* Implements CLIENT KILL laddr filter (#1506)Chayim2021-07-251-0/+20
|
* support for client unpause (#1512)Chayim2021-07-251-0/+4
|
* NOMKSTREAM support for XADD (#1507)Chayim2021-07-251-0/+10
|
* hrandfield (#1513)Avital Fine2021-07-221-0/+13
| | | | | | | | | | | | | * hrandfield * use mapping in hset * skip if version not fit * remove empty line * flake8 comments * new line for each comment
* client_list (#1517)Avital Fine2021-07-221-0/+6
|
* getex (#1515)Avital Fine2021-07-221-0/+15
| | | | | | | * getex * flake8 fix * comments
* Add support for COPY command new in Redis 6.2 (#1492)malinaa962021-07-201-0/+23
|
* changing unit tests to account for defaults in redis flags (#1499)Chayim2021-07-151-19/+18
| | | Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* Add support for the ABSTTL option of the RESTORE command. (#1423)Simon Charette2020-11-221-0/+13
| | | Add support for the ABSTTL option of the RESTORE command.
* Added the ACL LOG command available in Redis 6Andy McCurdy2020-08-191-2/+42
| | | | | | | | | `acl_log()` returns a list of dictionaries, each describing a log entry. `acl_log_reset()` instructs the server to truncate the log. Thanks @2014BDuck Fixes #1307
* Remove support for end-of-life Python 2.7 (#1318)Jon Dufresne2020-08-061-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for end-of-life Python 2.7 Python 2.7 is end of life. It is no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards a modern Python 3 style. Python 2.7 users can continue to use the previous version of redis-py. Was able to simplify the code: - Removed redis._compat module - Removed __future__ imports - Removed object from class definition (all classes are new style) - Removed long (Python 3 unified numeric types) - Removed deprecated __nonzero__ method - Use simpler Python 3 super() syntax - Use unified OSError exception - Use yield from syntax Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* LPOS: add new command (#1354)Paul Spooren2020-07-221-0/+32
| | | | | Added the LPOS command from Redis 6.0.6 Fixes #1353
* Dockerize (#1365)Andy McCurdy2020-07-201-4/+2
|\ | | | | | | | | | | | | | | | | Provide a docker development and testing environment * CI (Travis) now runs tests via the same docker environment that is available to developers. * A simple Makefile has been added to make getting started easier. * `make dev` will standup the development environment. * `make test` will standup the development environment and also run the test suite. * `make clean` will remove the development environment.
| * make the slowlog_get test more resilient to multiple clients being connectedAndy McCurdy2020-07-201-4/+2
| |
* | Support for loading, unloading and listing Redis Modules (#1360)Roey Prat2020-07-131-0/+5
|/ | | | | | | | | | | * Support for loading, unloading and listing Redis Modules * minor fixes for flake * unit test for module list - only the empty use case * ModuleError should inherit from ResponseError rather than RedisError Co-authored-by: Vamsi Atluri <vamc19@gmail.com>
* Fix for HSET argument validation to allow any non-None keyAleksMat2020-05-091-0/+4
| | | | | Fixes #1337 Fixes #1341
* Remove unnecessary coerce to list (#1321)Jon Dufresne2020-04-131-1/+1
| | | | sorted() takes any iterable and always returns a new list. No need to eagerly coerce to a list.
* constant for redis 6 RC candidates in tests.Andy McCurdy2020-03-121-14/+14
| | | | replace with a '6.0.0' literal when Redis 6 is GA