Skip to content

Commit 639679f

Browse files
committed
fix: test broke
1 parent 6b31e6c commit 639679f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_parser/test_responses.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ def test_http_status_pattern_lt(pattern1: str, pattern2: str, result: bool) -> N
295295
@pytest.mark.parametrize(
296296
"pattern,result",
297297
[
298-
(str(HTTPStatus.OK), True),
299-
(str(HTTPStatus.NOT_FOUND), True),
300-
(str(HTTPStatus.CONFLICT), True),
301-
(str(HTTPStatus.INTERNAL_SERVER_ERROR), True),
298+
(str(HTTPStatus.OK.value), True),
299+
(str(HTTPStatus.NOT_FOUND.value), True),
300+
(str(HTTPStatus.CONFLICT.value), True),
301+
(str(HTTPStatus.INTERNAL_SERVER_ERROR.value), True),
302302
("2XX", False),
303303
("1", False),
304304
("99999", False),

0 commit comments

Comments
 (0)