Skip to content

Commit

Permalink
async test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h committed Aug 4, 2022
1 parent 5830b4f commit 5a83cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_asyncio/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ async def test_aggregations_groupby(modclient: redis.Redis):

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

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

0 comments on commit 5a83cbc

Please sign in to comment.