[cmf-tests] FAILED (failures=4,
errors=20) : CMF-trunk Zope-2.10 Python-2.4.4 : Linux
CMF Unit Tests
cmf-tests at epy.co.at
Thu Dec 28 22:00:00 EST 2006
CMF Unit Tests : FAILED (failures=4, errors=20)
CMF-trunk Zope-2.10 Python-2.4.4 : 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
Parsing /home/stefan/autotest/temp/python24-zope210-cmf21/etc/zope.conf
Running unit tests:
Error in test test_customize (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
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-cmf21/Products/CMFCore/tests/test_FSPageTemplate.py", line 153, in test_customize
self.fsPT.manage_doCustomize( folder_path='custom' )
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
obj = self._createZODBClone()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSPageTemplate.py", line 75, in _createZODBClone
obj.write(self.read())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Error in test test_customize_caching (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
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-cmf21/Products/CMFCore/tests/test_FSPageTemplate.py", line 169, in test_customize_caching
self.fsPT.manage_doCustomize(folder_path='custom')
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
obj = self._createZODBClone()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSPageTemplate.py", line 75, in _createZODBClone
obj.write(self.read())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Error in test test_dontExpandOnCreation (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
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-cmf21/Products/CMFCore/tests/test_FSPageTemplate.py", line 177, in test_dontExpandOnCreation
self.fsPT.manage_doCustomize( folder_path='custom' )
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
obj = self._createZODBClone()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/FSPageTemplate.py", line 75, in _createZODBClone
obj.write(self.read())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Error in test test_304_response_from_cpm (CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 82, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test___call__ (CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 82, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_caching (CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 82, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_ownership (CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 82, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_customize (CMFCore.tests.test_FSReSTMethod.FSReSTMethodCustomizationTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 157, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_customize_caching (CMFCore.tests.test_FSReSTMethod.FSReSTMethodCustomizationTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 251, in run
self.setUp()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 157, in setUp
FSReSTMaker.setUp(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSReSTMethod.py", line 34, in setUp
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
2006-12-29 03:48:03 WARNING ZODB.DB DB.open() has 8 open connections with a pool_size of 7
Error in test test_304_response_from_cpm (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
self.tearDown()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 109, in tearDown
_TemplateSwitcher.tearDown(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 77, in tearDown
self._setWhichTemplate(self._old_STX_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test___call___with_DTML (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
self.tearDown()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 109, in tearDown
_TemplateSwitcher.tearDown(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 77, in tearDown
self._setWhichTemplate(self._old_STX_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test___call___with_ZPT (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
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-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 119, in test___call___with_ZPT
self._setWhichTemplate('ZPT')
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test___call___with_ZPT (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
self.tearDown()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 109, in tearDown
_TemplateSwitcher.tearDown(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 77, in tearDown
self._setWhichTemplate(self._old_STX_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_caching (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
self.tearDown()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 109, in tearDown
_TemplateSwitcher.tearDown(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 77, in tearDown
self._setWhichTemplate(self._old_STX_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_ownership (CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
self.tearDown()
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 109, in tearDown
_TemplateSwitcher.tearDown(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 77, in tearDown
self._setWhichTemplate(self._old_STX_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_customize_caching (CMFCore.tests.test_FSSTXMethod.FSSTXMethodCustomizationTests)
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-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 257, in test_customize_caching
self._setWhichTemplate('ZPT')
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Error in test test_customize_with_ZPT (CMFCore.tests.test_FSSTXMethod.FSSTXMethodCustomizationTests)
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-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 235, in test_customize_with_ZPT
self._setWhichTemplate('ZPT')
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFCore/tests/test_FSSTXMethod.py", line 90, in _setWhichTemplate
main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 116, in __init__
self.pt_edit(text, content_type)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 161, in pt_edit
raise ValueError('Unsupported content-type %s' % content_type)
ValueError: Unsupported content-type None
Failure in test test_constructInstance_wo_Roles (CMFCore.tests.test_TypesTool.FTIOldstyleConstructionTests)
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-cmf21/Products/CMFCore/tests/test_TypesTool.py", line 398, in test_constructInstance_wo_Roles
self.ti.constructInstance, self.f, 'foo')
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 326, in failUnlessRaises
raise self.failureException, "%s not raised" % excName
AssertionError: Unauthorized not raised
Failure in test test_isConstructionAllowed_wo_Role (CMFCore.tests.test_TypesTool.FTIOldstyleConstructionTests)
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-cmf21/Products/CMFCore/tests/test_TypesTool.py", line 393, in test_isConstructionAllowed_wo_Role
self.failIf(self.ti.isConstructionAllowed(self.f))
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 305, in failIf
if expr: raise self.failureException, msg
AssertionError
Failure in test test_isConstructionAllowed_wo_Security (CMFCore.tests.test_TypesTool.FTIOldstyleConstructionTests)
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-cmf21/Products/CMFCore/tests/test_TypesTool.py", line 382, in test_isConstructionAllowed_wo_Security
self.failIf(self.ti.isConstructionAllowed(self.f))
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 305, in failIf
if expr: raise self.failureException, msg
AssertionError
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-cmf21/Products/CMFDefault/tests/test_Document.py", line 394, in testHTML
zpt.write(data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Ran 808 tests with 3 failures and 18 errors in 9.096 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.952 seconds.
Ran 52 tests with 0 failures and 0 errors in 0.440 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 0.885 seconds.
Ran 21 tests with 0 failures and 0 errors in 3.723 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.067 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.074 seconds.
Ran 45 tests with 0 failures and 0 errors in 0.338 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.139 seconds.
Ran 97 tests with 0 failures and 0 errors in 1.024 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.074 seconds.
Ran 49 tests with 0 failures and 0 errors in 0.276 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.716 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.522 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt
Failed doctest test for RegistrationTool.txt
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 103, in RegistrationTool.txt
Failed example:
s.addResource(dir, 'password_email_template.pt')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[42]>", line 1, in ?
s.addResource(dir, 'password_email_template.pt')
File "<doctest RegistrationTool.txt[21]>", line 9, in addResource
r.write(f.read())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 105, in RegistrationTool.txt
Failed example:
s.addResource(dir, 'registered_email_template.pt')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[44]>", line 1, in ?
s.addResource(dir, 'registered_email_template.pt')
File "<doctest RegistrationTool.txt[21]>", line 9, in addResource
r.write(f.read())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 110, in RegistrationTool.txt
Failed example:
print s.password_email()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[46]>", line 1, in ?
print s.password_email()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PythonScripts/PythonScript.py", line 326, in _exec
result = f(*args, **kw)
File "Script (Python)", line 22, in password_email
AttributeError: password_email_template
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 125, in RegistrationTool.txt
Failed example:
print s.password_email()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[48]>", line 1, in ?
print s.password_email()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PythonScripts/PythonScript.py", line 326, in _exec
result = f(*args, **kw)
File "Script (Python)", line 22, in password_email
AttributeError: password_email_template
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 142, in RegistrationTool.txt
Failed example:
print s.registered_email()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[50]>", line 1, in ?
print s.registered_email()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PythonScripts/PythonScript.py", line 326, in _exec
result = f(*args, **kw)
File "Script (Python)", line 35, in registered_email
AttributeError: registered_email_template
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/CMFDefault/tests/RegistrationTool.txt", line 173, in RegistrationTool.txt
Failed example:
print s.registered_email()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest RegistrationTool.txt[52]>", line 1, in ?
print s.registered_email()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PythonScripts/PythonScript.py", line 326, in _exec
result = f(*args, **kw)
File "Script (Python)", line 35, in registered_email
AttributeError: registered_email_template
Ran 45 tests with 1 failures and 0 errors in 6.952 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.063 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.189 seconds.
Ran 35 tests with 0 failures and 0 errors in 2.511 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.002 seconds.
Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.136 seconds.
Error in test test_body_get (GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests)
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-cmf21/Products/GenericSetup/testing.py", line 82, in test_body_get
self._populate(self._obj)
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/PageTemplates/tests/test_exportimport.py", line 42, in _populate
obj.write(_PAGETEMPLATE_BODY)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Error in test test_body_set (GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests)
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-cmf21/Products/GenericSetup/testing.py", line 90, in test_body_set
adapted.body = self._BODY
File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/PageTemplates/exportimport.py", line 41, in _importBody
self.context.write(body)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode
Ran 198 tests with 0 failures and 2 errors in 5.149 seconds.
Tearing down left over layers:
Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1350 tests, 4 failures, 20 errors
FAILED (failures=4, errors=20)
More information about the cmf-tests
mailing list