[Testbot] Plone 5.0 - Python 2.7 - Build # 2603 - Still failing! - 168 failure(s)

jenkins at plone.org jenkins at plone.org
Thu Jun 19 20:38:25 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2603 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/2603/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: Products.MimetypesRegistry
Branch: refs/heads/master
Date: 2014-06-19T21:28:23+02:00
Author: Timo Stollenwerk (tisto) <tisto at plone.org>
Commit: https://github.com/plone/Products.MimetypesRegistry/commit/8e40d8c3d26d011541de330c3ec80cd8d27f51ef

INSTALL file can be either 'text/x-install' or 'application/x-install-instructions' dependent on the OS.

Files changed:
M Products/MimetypesRegistry/tests/test_mimetypes.py

diff --git a/Products/MimetypesRegistry/tests/test_mimetypes.py b/Products/MimetypesRegistry/tests/test_mimetypes.py
index 4dbabaa..3426a67 100644
--- a/Products/MimetypesRegistry/tests/test_mimetypes.py
+++ b/Products/MimetypesRegistry/tests/test_mimetypes.py
@@ -1,4 +1,3 @@
-from Testing import ZopeTestCase
 from Products.Archetypes.tests.atsitetestcase import ATSiteTestCase
 from Products.CMFCore.utils import getToolByName
 
@@ -7,6 +6,7 @@
 from Products.MimetypesRegistry.mime_types import application_octet_stream
 from utils import input_file_path
 
+
 class TestMimeTypesclass(ATSiteTestCase):
 
     def afterSetUp(self):
@@ -119,7 +119,7 @@ def testFDOGlobs(self):
         self.failUnlessEqual(str(mt), 'text/x-authors')
 
         mt = reg.classify(data, filename="INSTALL")
-        self.failUnlessEqual(str(mt), 'text/x-install')
+        self.assertTrue(str(mt) in ['text/x-install', 'application/x-install-instructions'])
 
     def testLookup(self):
         reg = self.registry




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1434 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140619/423fe008/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 606860 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140619/423fe008/attachment-0003.obj>


More information about the Testbot mailing list