test_httpservers test_command (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_handler (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_head_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_header_close (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_internal_key_error (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_request_line_trimming (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_return_custom_status (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_return_header_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_send_blank (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_bogus (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_digits (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_invalid (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_none (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_version_none_get (test.test_httpservers.BaseHTTPServerTestCase) ... ok test_get (test.test_httpservers.SimpleHTTPServerTestCase) ... FAIL test_head (test.test_httpservers.SimpleHTTPServerTestCase) ... ok test_invalid_requests (test.test_httpservers.SimpleHTTPServerTestCase) ... ok test_authorization (test.test_httpservers.CGIHTTPServerTestCase) ... ERROR test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase) ... ERROR test_invaliduri (test.test_httpservers.CGIHTTPServerTestCase) ... ok test_post (test.test_httpservers.CGIHTTPServerTestCase) ... FAIL ====================================================================== ERROR: test_authorization (test.test_httpservers.CGIHTTPServerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/test/test_httpservers.py", line 342, in test_authorization (res.read(), res.getheader('Content-type'), res.status)) File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/http/client.py", line 592, in getheader return ', '.join(self.msg.get_all(name, default)) TypeError ====================================================================== ERROR: test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/test/test_httpservers.py", line 322, in test_headers_and_content (res.read(), res.getheader('Content-type'), res.status)) File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/http/client.py", line 592, in getheader return ', '.join(self.msg.get_all(name, default)) TypeError ====================================================================== FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/test/test_httpservers.py", line 244, in test_get self.check_status_and_reason(response, 404) File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/test/test_httpservers.py", line 220, in check_status_and_reason self.assertEquals(response.status, status) AssertionError: 200 != 404 ====================================================================== FAIL: test_post (test.test_httpservers.CGIHTTPServerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/michael/Desktop/python/python3.0-3.0.1/Lib/test/test_httpservers.py", line 330, in test_post self.assertEquals(res.read(), b'1, python, 123456\n') AssertionError: b'' != b'1, python, 123456\n' ---------------------------------------------------------------------- Ran 21 tests in 10.290s FAILED (failures=2, errors=2) test test_httpservers failed -- errors occurred; run in verbose mode for details 1 test failed: test_httpservers