This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mwdiers
Recipients mwdiers
Date 2008-12-04.17:17:35
SpamBayes Score 4.013802e-05
Marked as misclassified No
Message-id <1228411057.37.0.0478484931696.issue4528@psf.upfronthosting.co.za>
In-reply-to
Content
Test was run with sudo. All other tests passed.

Here is the verbose output of test_httpservers:
Re-running test 'test_httpservers' in verbose mode
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) ...
Traceback (most recent call last):
  File "/Users/mwdiers/src/Python-3.0/Lib/http/server.py", line 1031, in
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
ERROR
test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase)
... Traceback (most recent call last):
  File "/Users/mwdiers/src/Python-3.0/Lib/http/server.py", line 1031, in
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
ERROR
test_invaliduri (test.test_httpservers.CGIHTTPServerTestCase) ... ok
test_post (test.test_httpservers.CGIHTTPServerTestCase) ... Traceback
(most recent call last):
  File "/Users/mwdiers/src/Python-3.0/Lib/http/server.py", line 1031, in
run_cgi
    os.execve(scriptfile, args, os.environ)
OSError: [Errno 13] Permission denied
FAIL

======================================================================
ERROR: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py",
line 342, in test_authorization
    (res.read(), res.getheader('Content-type'), res.status))
  File "/Users/mwdiers/src/Python-3.0/Lib/http/client.py", line 591, 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 "/Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py",
line 322, in test_headers_and_content
    (res.read(), res.getheader('Content-type'), res.status))
  File "/Users/mwdiers/src/Python-3.0/Lib/http/client.py", line 591, in
getheader
    return ', '.join(self.msg.get_all(name, default))
TypeError

======================================================================
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mwdiers/src/Python-3.0/Lib/test/test_httpservers.py",
line 244, in test_get
    self.check_status_and_reason(response, 404)
  File "/Users/mwdiers/src/Python-3.0/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 "/Users/mwdiers/src/Python-3.0/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.358s

FAILED (failures=2, errors=2)
test test_httpservers failed -- errors occurred; run in verbose mode for
details
make: [test] Error 1 (ignored)
History
Date User Action Args
2008-12-04 17:17:37mwdierssetrecipients: + mwdiers
2008-12-04 17:17:37mwdierssetmessageid: <1228411057.37.0.0478484931696.issue4528@psf.upfronthosting.co.za>
2008-12-04 17:17:36mwdierslinkissue4528 messages
2008-12-04 17:17:35mwdierscreate