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)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to