Author Jason.Vas.Dias
Recipients Jason.Vas.Dias
Date 2011-04-29.12:56:32
SpamBayes Score 0.00123312
Marked as misclassified No
Message-id <1304081807.26.0.712678961631.issue11954@psf.upfronthosting.co.za>
In-reply-to
Content
test_start_with_double_slash (test.test_httpservers.SimpleHTTPRequestHandlerTestCase) ... /usr/src/cpython/Lib/unittest/case.py:799: BytesWarning: str() on a bytes instance
  (i, item1, item2))
test test_httpservers failed -- multiple errors occurred
ok

======================================================================
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 266, in test_get
    self.check_status_and_reason(response, 404)
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 242, in check_status_and_reason
    self.assertEqual(response.status, status)
AssertionError: 200 != 404

======================================================================
FAIL: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 427, in test_authorization
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 407, in test_headers_and_content
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_no_leading_slash (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 433, in test_no_leading_slash
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_os_environ_is_not_altered (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 440, in test_os_environ_is_not_altered
    (res.read(), res.getheader('Content-type'), res.status))
AssertionError: Tuples differ: (b'Hello World\n', 'text/html'... != (b'', None, 200)

First differing element 0:
b'Hello World\n'
b''

- (b'Hello World\n', 'text/html', 200)
+ (b'', None, 200)

======================================================================
FAIL: test_post (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/cpython/Lib/test/test_httpservers.py", line 415, in test_post
    self.assertEqual(res.read(), b'1, python, 123456\n')
AssertionError: b'' != b'1, python, 123456\n'

----------------------------------------------------------------------
Ran 37 tests in 2.971s

FAILED (failures=6)
[147/354] test_imaplib
test_Internaldate2tuple (test.test_imaplib.TestImaplib) ... ok
test_that_Time2Internaldate_returns_a_result (test.test_imaplib.TestImaplib) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
[148/354] test_imp
History
Date User Action Args
2011-04-29 12:56:47Jason.Vas.Diassetrecipients: + Jason.Vas.Dias
2011-04-29 12:56:47Jason.Vas.Diassetmessageid: <1304081807.26.0.712678961631.issue11954@psf.upfronthosting.co.za>
2011-04-29 12:56:32Jason.Vas.Diaslinkissue11954 messages
2011-04-29 12:56:32Jason.Vas.Diascreate