Skip to content

Commit 920f909

Browse files
committed
fix test docstring
1 parent 56cc766 commit 920f909

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/test_groundlight.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def test_get_detector(gl: Groundlight, detector: Detector):
241241
def test_get_detector_with_low_request_timeout(gl: Groundlight, detector: Detector):
242242
"""
243243
Verifies that get_detector respects the request_timeout parameter and raises a MaxRetryError when timeout is
244-
exceeded. Verifies that request_timeout parameter can be a float or a tuple.
244+
low. Verifies that request_timeout parameter can be a float or a tuple.
245245
"""
246246
with pytest.raises(MaxRetryError):
247247
# Setting a very low request_timeout value should result in a timeout.
@@ -383,8 +383,8 @@ def test_submit_image_query_with_human_review_param(gl: Groundlight, detector: D
383383

384384
def test_submit_image_query_with_low_request_timeout(gl: Groundlight, detector: Detector, image: str):
385385
"""
386-
Verifies that submit_image_query respects the request_timeout parameter and raises a ReadTimeoutError when timeout
387-
is exceeded. Verifies that request_timeout parameter can be a float or a tuple.
386+
Verifies that submit_image_query respects the request_timeout parameter and raises a ConnectTimeoutError or
387+
ReadTimeoutError when timeout is low. Verifies that request_timeout parameter can be a float or a tuple.
388388
"""
389389
with pytest.raises((ConnectTimeoutError, ReadTimeoutError)):
390390
# Setting a very low request_timeout value should result in a timeout.

0 commit comments

Comments
 (0)