Skip to content

Commit b54c3d8

Browse files
committed
Fixed async tests
1 parent 1b61d14 commit b54c3d8

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
@@ -1646,7 +1646,7 @@ async def test_search_commands_in_pipeline(decoded_r: redis.Redis):
16461646
@pytest.mark.redismod
16471647
async def test_query_timeout(decoded_r: redis.Redis):
16481648
q1 = Query("foo").timeout(5000)
1649-
assert q1.get_args() == ["foo", "TIMEOUT", 5000, "LIMIT", 0, 10]
1649+
assert q1.get_args() == ["foo", "TIMEOUT", 5000, "DIALECT", 2, "LIMIT", 0, 10]
16501650
q2 = Query("foo").timeout("not_a_number")
16511651
with pytest.raises(redis.ResponseError):
16521652
await decoded_r.ft().search(q2)

0 commit comments

Comments
 (0)