[cmf-tests] FAILED (errors=2) : CMF-2.0 Zope-trunk Python-2.4.2 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Thu Mar 30 20:50:44 EST 2006
CMF Unit Tests : FAILED (errors=2)
CMF-2.0 Zope-trunk Python-2.4.2 : Linux
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PluginIndexes/__init__.py:19: DeprecationWarning: Using TextIndex is deprecated (will be removed in Zope 2.12). Use ZCTextIndex instead.
import TextIndex.TextIndex
/home/stefan/autotest/temp/python24-zope210/lib/python/Products/ZCatalog/__init__.py:18: DeprecationWarning: ZClasses are deprecated, unmaintained and should no longer be used
from ZClasses import createZClassForBase
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSFile.py:23: DeprecationWarning: guess_content_type: zope.app.content_types has moved to zope.app.contenttypes. This reference go away in Zope 3.4.
from zope.app.content_types import guess_content_type
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Application.py:710: DeprecationWarning: Using Gadfly and ZGadflyDA is deprecated. The module will be removed in Zope 2.11)
product=__import__(pname, global_dict, global_dict, silly)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSFile.py:23: DeprecationWarning: guess_content_type: zope.app.content_types has moved to zope.app.contenttypes. This reference go away in Zope 3.4.
from zope.app.content_types import guess_content_type
Parsing /home/stefan/autotest/temp/python24-zope210-cmf20/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:75: DeprecationWarning: Products.CMFDefault.Portal.CMFSite.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:75: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:75: DeprecationWarning: Products.CMFCalendar.Event.Event.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
Error in test test_reindexObjectSecurity_missing_noraise (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_CMFCatalogAware.py", line 178, in test_reindexObjectSecurity_missing_noraise
self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object
Error in test testHTML (CMFDefault.tests.test_Document.DocumentFTPGetTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/tests/test_Document.py", line 391, in testHTML
ZopePageTemplate('source_html') )
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 135, in __init__
self.pt_edit(text, content_type, encoding)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 143, in pt_edit
text = text.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
Ran 1236 tests with 0 failures and 2 errors in 86.429 seconds.
FAILED (errors=2)
More information about the cmf-tests
mailing list