Commit 20853613 authored by Berker Peksag's avatar Berker Peksag

Fix typo in test name

Noticed by Xiang Zhang.
parent 74319ae2
...@@ -190,7 +190,7 @@ class BaseHTTPServerTestCase(BaseTestCase): ...@@ -190,7 +190,7 @@ class BaseHTTPServerTestCase(BaseTestCase):
res = self.con.getresponse() res = self.con.getresponse()
self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED) self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED)
def test_head_keep_alive(self): def test_header_keep_alive(self):
self.con._http_vsn_str = 'HTTP/1.1' self.con._http_vsn_str = 'HTTP/1.1'
self.con.putrequest('GET', '/') self.con.putrequest('GET', '/')
self.con.putheader('Connection', 'keep-alive') self.con.putheader('Connection', 'keep-alive')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment