[Python-modules-team] Bug#629699: webhelpers: FTBFS: test_distance_of_time_in_words
Matthias Klose
doko at ubuntu.com
Mon Jan 2 09:27:13 UTC 2012
the Fedora patch is not enough, it fails later with:
======================================================================
ERROR: test_mimetypes.test_root_path
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 36, in
test_root_path
eq_(m.mimetype('text/html'), 'text/html')
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_mimetypes.test_with_extension
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 44, in
test_with_extension
eq_(m.mimetype('text/html'), False)
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_mimetypes.test_with_unregistered_extention
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 53, in
test_with_unregistered_extention
eq_(m.mimetype('text/html'), False)
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_mimetypes.test_root_path
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 36, in
test_root_path
eq_(m.mimetype('text/html'), 'text/html')
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_mimetypes.test_with_extension
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 44, in
test_with_extension
eq_(m.mimetype('text/html'), False)
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_mimetypes.test_with_unregistered_extention
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 53, in
test_with_unregistered_extention
eq_(m.mimetype('text/html'), False)
File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)
More information about the Python-modules-team
mailing list