Skip to content

Commit eb1fee9

Browse files
committed
Issues #25232, #24657: Use new enum status to match rest of tests
1 parent 56b76d2 commit eb1fee9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_httpservers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,14 +627,14 @@ def test_nested_cgi_path_issue21323(self):
627627
def test_query_with_multiple_question_mark(self):
628628
res = self.request('/cgi-bin/file4.py?a=b?c=d')
629629
self.assertEqual(
630-
(b'a=b?c=d' + self.linesep, 'text/html', 200),
630+
(b'a=b?c=d' + self.linesep, 'text/html', HTTPStatus.OK),
631631
(res.read(), res.getheader('Content-type'), res.status))
632632

633633
def test_query_with_continuous_slashes(self):
634634
res = self.request('/cgi-bin/file4.py?k=aa%2F%2Fbb&//q//p//=//a//b//')
635635
self.assertEqual(
636636
(b'k=aa%2F%2Fbb&//q//p//=//a//b//' + self.linesep,
637-
'text/html', 200),
637+
'text/html', HTTPStatus.OK),
638638
(res.read(), res.getheader('Content-type'), res.status))
639639

640640

0 commit comments

Comments
 (0)