Skip to content

Commit 604ae4c

Browse files
committed
fix test_profile
1 parent 7132189 commit 604ae4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ def test_profile(client):
14971497
res, det = client.ft().profile(req)
14981498
assert det["Iterators profile"]["Counter"] == 2.0
14991499
assert det["Iterators profile"]["Type"] == "WILDCARD"
1500-
assert det["Parsing time"] < 0.5
1500+
assert isinstance(det["Parsing time"], float)
15011501
assert len(res.rows) == 2 # check also the search result
15021502

15031503

0 commit comments

Comments
 (0)