Skip to content

Commit 5a83cbc

Browse files
committed
async test
1 parent 5830b4f commit 5a83cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_asyncio/test_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ async def test_aggregations_groupby(modclient: redis.Redis):
992992

993993
res = (await modclient.ft().aggregate(req)).rows[0]
994994
assert res[1] == "redis"
995-
assert res[3] == ["RediSearch", "RedisAI", "RedisJson"]
995+
assert set(res[3]) == {"RediSearch", "RedisAI", "RedisJson"}
996996

997997
req = aggregations.AggregateRequest("redis").group_by(
998998
"@parent", reducers.first_value("@title").alias("first")

0 commit comments

Comments
 (0)