summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_json.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-10-23 16:53:57 +0300
committerGitHub <noreply@github.com>2022-10-23 16:53:57 +0300
commitaa0ae6897828009342338e435773a5d0b90a21ea (patch)
treecf951514512ab11aef3d2b36153d25962fd2fd83 /tests/test_asyncio/test_json.py
parente867f9eec740fde0b749b1ca35b8b9772c5ada92 (diff)
downloadredis-py-aa0ae6897828009342338e435773a5d0b90a21ea.tar.gz
Fix `TIMESERIES` (round floats) and `JSON` tests (#2421)
* Fix timeseries tests (round floats) * fix json tests
Diffstat (limited to 'tests/test_asyncio/test_json.py')
-rw-r--r--tests/test_asyncio/test_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_asyncio/test_json.py b/tests/test_asyncio/test_json.py
index 416a9f4..b8854d2 100644
--- a/tests/test_asyncio/test_json.py
+++ b/tests/test_asyncio/test_json.py
@@ -817,7 +817,7 @@ async def test_objlen_dollar(modclient: redis.Redis):
},
)
# Test multi
- assert await modclient.json().objlen("doc1", "$..a") == [2, None, 1]
+ assert await modclient.json().objlen("doc1", "$..a") == [None, 2, 1]
# Test single
assert await modclient.json().objlen("doc1", "$.nested1.a") == [2]