summaryrefslogtreecommitdiff
path: root/tests/test_json.py
Commit message (Collapse)AuthorAgeFilesLines
* support JSON.MERGE Command (#2761)HEADmastershacharPash2023-05-161-0/+33
| | | | | | | | | | | | | | | | | * support JSON.MERGE Command * linters * try with abc instead person * change @skip_ifmodversion_lt to latest ReJSON 2.4.7 * change version * fix test * linters * add async test
* update json().arrindex() default values (#2611)Alex Schmitz2023-03-151-0/+5
| | | | | | | | | | | | | | | | | * update json().arrindex() default values * add unit test * fix falsy checks * more unit tests * add asyncio tests * fix lint line length --------- Co-authored-by: Alex Schmitz <aschmitz@box.com>
* Fix `JSON.ARRINDEX` test (#2527)dvora-h2022-12-211-11/+4
| | | | | | | * Fix test json.arrindex * linters * linters
* Fix `TIMESERIES` (round floats) and `JSON` tests (#2421)dvora-h2022-10-231-1/+1
| | | | | * Fix timeseries tests (round floats) * fix json tests
* Fix warnings and resource usage problems in asyncio unittests (#2258)Kristján Valur Jónsson2022-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use pytest-asyncio in auto mode Remove overly genereric `pytestmark=pytest.mark.asyncio` causing lots of warning noise * Use "Factories as Fixtures" test pattern for the `create_redis` fixture this fixture is now async, avoiding teardown problems with missing event loops. * Fix sporadic error on fast event loops, such as `--uvloop` * Close connection, even if "username" was in kwargs This fixes a resource usage warning in the async unittests. * Do async cleanup of acl passwords via a fixture * Remove unused import, fix whitespace * Fix test with missing "await" * Close pubsub objects after use in unittest Use a simple fixture where possible, otherwise manually call pubsub.close() * re-introduce `pytestmark=pytest.mark.asyncio` for python 3.6 * Use context manager to clean up connections in connection pool for unit tests * Provide asynccontextmanager for python 3.6 * make `test_late_subscribe()` more robuste * Catch a couple of additional leaked resources
* update black to 22.3.0 (#2171)Utkarsh Gupta2022-05-301-18/+5
|
* Fix Linting and Test Failures (#2191)Greg Melton2022-05-231-3/+2
| | | | | | | * force triggering pr pipeline * fix lint error * https://github.com/RedisJSON/RedisJSON/pull/721 no longer clears strings or boolean scalars
* Fix naming conventions (#1872)dvora-h2022-02-021-80/+80
| | | | | * fix naming convention * fix worng changes
* Change json.clear test multi to be up to date with redisjson (#1922)dvora-h2022-02-021-2/+2
| | | | | * fix json clear test * fix json clear test
* Support WRITE in CLIENT PAUSE (#1549)Avital Fine2021-12-221-1/+0
| | | Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* fix test_set_pathdvora-h2021-12-201-6/+6
|
* fixing tests and lintdvora-h2021-12-201-3/+30
|
* add set_file and set_pathdvora-h2021-12-191-0/+12
|
* Disabling JSON.DEBUG tests (#1787)Chayim2021-12-131-29/+29
|
* Added black and isort (#1734)Anas2021-11-301-68/+38
|
* RedisJSON 2.0.4 behaviour support (#1747)Chayim2021-11-251-23/+30
|
* Adding RedisCluster client to support Redis Cluster Mode (#1660)Bar Shaul2021-11-251-0/+1
| | | | Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: Anas <anas.el.amraoui@live.com>
* Test to validate custom JSON decoders (#1681)Chayim2021-11-101-0/+17
|
* Re-enable pipeline support for JSON and TimeSeries (#1674)Chayim2021-11-091-10/+22
|
* Support for json multipath ($) (#1663)Chayim2021-11-041-17/+1116
|
* Improved JSON accuracy (#1666)Chayim2021-11-021-27/+80
|
* Adding support for redisearch (#1640)Chayim2021-10-251-25/+25
|
* redisjson support (#1636)Chayim2021-10-251-0/+235