#3858: mimeview unit test fails
-------------------------------------+--------------------------------------
Reporter: david.vanmaren@dako.com | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: general | Version: 0.10
Severity: minor | Keywords: mimeview
-------------------------------------+--------------------------------------
This is likely related to #3332, but when I run the unit tests on 0.10, I
get a failed assertion.
From my uninformed perspective, it appears that the defect is in the test
code, rather than in the logic of get_mimetype().
I am running SLES10, x86_64, Python 2.4.2. Here's a snippet of {{{svn
info}}} from my working copy:
{{{
URL: http://svn.edgewall.com/repos/trac/tags/trac-0.10
Revision: 3804
}}}
Here's the test output:
{{{
#!sh
$ PYTHONPATH=. trac/test.py
SKIP: mimeview/tests/php.py
.................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_from_suffix_using_mimetypes
(trac.mimeview.tests.api.GetMimeTypeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trac-svn/trac/mimeview/tests/api.py", line 26, in
test_from_suffix_using_mimetypes
get_mimetype('test.pyc', None))
AssertionError: 'application/x-python-code' != 'application/x-python-
bytecode'
----------------------------------------------------------------------
Ran 590 tests in 39.788s
FAILED (failures=1)
}}}
--
Ticket URL: <http://trac.edgewall.org/ticket/3858>
The Trac Project <http://trac.edgewall.org/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
-------------------------------------+--------------------------------------
Reporter: david.vanmaren@dako.com | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: general | Version: 0.10
Severity: minor | Keywords: mimeview
-------------------------------------+--------------------------------------
This is likely related to #3332, but when I run the unit tests on 0.10, I
get a failed assertion.
From my uninformed perspective, it appears that the defect is in the test
code, rather than in the logic of get_mimetype().
I am running SLES10, x86_64, Python 2.4.2. Here's a snippet of {{{svn
info}}} from my working copy:
{{{
URL: http://svn.edgewall.com/repos/trac/tags/trac-0.10
Revision: 3804
}}}
Here's the test output:
{{{
#!sh
$ PYTHONPATH=. trac/test.py
SKIP: mimeview/tests/php.py
.................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_from_suffix_using_mimetypes
(trac.mimeview.tests.api.GetMimeTypeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trac-svn/trac/mimeview/tests/api.py", line 26, in
test_from_suffix_using_mimetypes
get_mimetype('test.pyc', None))
AssertionError: 'application/x-python-code' != 'application/x-python-
bytecode'
----------------------------------------------------------------------
Ran 590 tests in 39.788s
FAILED (failures=1)
}}}
--
Ticket URL: <http://trac.edgewall.org/ticket/3858>
The Trac Project <http://trac.edgewall.org/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---