From: ATCT U. T. <plo...@ep...> - 2007-02-28 06:28:57
|
ATCT Unit Tests : FAILED (failures=3) ATCT-trunk Plone-trunk Zope-2.10 Python-2.4.4 Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --package Products.ATContentTypes /home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/Marshall/config.py:29: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers warnings.warn('libxml2 not available. Unable to register libxml2 based ' \ Installing CMFCore ... done (0.016s) Installing CMFDefault ... done (0.029s) Installing CMFCalendar ... done (0.073s) Installing CMFTopic ... done (0.046s) Installing DCWorkflow ... done (0.122s) Installing CMFActionIcons ... done (0.035s) Installing CMFQuickInstallerTool ... done (0.141s) Installing CMFFormController ... done (0.785s) Installing GroupUserFolder ... done (0.685s) Installing ZCTextIndex ... done (0.161s) Installing CMFPlone ... done (2.046s) Installing Archetypes ... done (0.172s) Installing ATContentTypes ... done (0.065s) Installing ATReferenceBrowserWidget ... done (0.018s) Installing CMFDynamicViewFTI ... done (0.017s) Installing ExternalEditor ... done (0.027s) Installing ExtendedPathIndex ... done (0.031s) Installing ResourceRegistries ... done (0.278s) Installing SecureMailHost ... done (0.021s) Installing CMFPlacefulWorkflow ... done (0.048s) Installing PasswordResetTool ... done (0.029s) Installing PluggableAuthService ... done (0.030s) Installing PluginRegistry ... done (0.024s) Installing PlonePAS ... done (0.032s) Installing kupu ... done (0.524s) Installing CMFEditions ... done (0.280s) Installing CMFDiffTool ... done (0.108s) Installing PloneLanguageTool ... done (0.070s) Installing SiteAccess ... done (0.066s) /home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/CMFCore/DirectoryView.py:497: UserWarning: DirectoryView mimetypes_icons refers to a non-existing path 'Products.MimetypesRegistry:skins/mimetypes_icons' (self.id, reg_key), UserWarning) <string>:30: DeprecationWarning: minimalpath() is deprecated and will be removed in CMF 2.3. /home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/PluggableAuthService/plugins/BasePlugin.py:74: DeprecationWarning: isImplementedBy has been renamed to providedBy return interface.isImplementedBy( self ) Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/etc/zope.conf Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.ZCML in 8.207 seconds. Set up Products.PloneTestCase.layer.PloneSite in 8.737 seconds. Failure in test test_acquireCriteriaField (Products.ATContentTypes.tests.test_attopic.TestATTopicFields) Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/tests/test_attopic.py", line 373, in test_acquireCriteriaField 'Value is %s' % str(field.vocabulary)) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError: Value is (('True', 'Yes', 'yes'), ('False', 'No', 'no')) Failure in test test_limitNumberField (Products.ATContentTypes.tests.test_attopic.TestATTopicFields) Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/tests/test_attopic.py", line 413, in test_limitNumberField 'Value is %s' % str(field.vocabulary)) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError: Value is (('True', 'Yes', 'yes'), ('False', 'No', 'no')) 2007-02-28 07:12:00 ERROR Zope.SiteErrorLog http://nohost/plone/Members/test_user_1_/test_object/atct_topic_subtopics Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 220, in _exec Module Products.CMFCore.FSPageTemplate, line 159, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render - Warning: Macro expansion failed - Warning: zope.traversing.interfaces.TraversalError: ({}, 'contents') Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 861, in do_defineMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 949, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 870, in do_useMacro Module zope.tales.tales, line 696, in evaluate - URL: file:/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/skins/ATContentTypes/atct_topic_subtopics.pt - Line 11, Column 12 - Expression: <PathExpr standard:u'here/folder_contents/macros/contents'> - Names: {'container': <PloneSite at /plone>, 'context': <ATTopic at /plone/Members/test_user_1_/test_object>, 'default': <object object at 0xb7cb6530>, 'here': <ATTopic at /plone/Members/test_user_1_/test_object>, 'loop': {}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb490f6ec>, 'request': <HTTPRequest, URL=http://nohost/plone/Members/test_user_1_/test_object/atct_topic_subtopics>, 'root': <Application at >, 'template': <FSPageTemplate at /plone/atct_topic_subtopics used for /plone/Members/test_user_1_/test_object>, 'traverse_subpath': [], 'user': <PloneUser 'test_user_1_'>} Module zope.tales.expressions, line 217, in __call__ Module Products.PageTemplates.Expressions, line 131, in _eval Module zope.tales.expressions, line 124, in _eval Module Products.PageTemplates.Expressions, line 83, in boboAwareZopeTraverse Module zope.traversing.adapters, line 164, in traversePathElement - __traceback_info__: ({}, 'contents') Module zope.traversing.adapters, line 52, in traverse - __traceback_info__: ({}, 'contents', []) TraversalError: ({}, 'contents') Failure in test test_additional_view (Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional) Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/tests/atctftestcase.py", line 192, in test_additional_view "%s: %s" % (view, response.getStatus())) # OK File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/tests/atctftestcase.py", line 83, in assertStatusEqual self.failUnlessEqual(a, b, msg) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 220, in _exec Module Products.CMFCore.FSPageTemplate, line 159, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render - Warning: Macro expansion failed - Warning: zope.traversing.interfaces.TraversalError: ({}, 'contents') Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 861, in do_defineMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 949, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 870, in do_useMacro Module zope.tales.tales, line 696, in evaluate - URL: file:/home/stefan/autotest/temp/python24-zope210-cmf21-plone30-at15-atct12/Products/ATContentTypes/skins/ATContentTypes/atct_topic_subtopics.pt - Line 11, Column 12 - Expression: <PathExpr standard:u'here/folder_contents/macros/contents'> - Names: {'container': <PloneSite at /plone>, 'context': <ATTopic at /plone/Members/test_user_1_/test_object>, 'default': <object object at 0xb7cb6530>, 'here': <ATTopic at /plone/Members/test_user_1_/test_object>, 'loop': {}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb490f6ec>, 'request': <HTTPRequest, URL=http://nohost/plone/Members/test_user_1_/test_object/atct_topic_subtopics>, 'root': <Application at >, 'template': <FSPageTemplate at /plone/atct_topic_subtopics used for /plone/Members/test_user_1_/test_object>, 'traverse_subpath': [], 'user': <PloneUser 'test_user_1_'>} Module zope.tales.expressions, line 217, in __call__ Module Products.PageTemplates.Expressions, line 131, in _eval Module zope.tales.expressions, line 124, in _eval Module Products.PageTemplates.Expressions, line 83, in boboAwareZopeTraverse Module zope.traversing.adapters, line 164, in traversePathElement - __traceback_info__: ({}, 'contents') Module zope.traversing.adapters, line 52, in traverse - __traceback_info__: ({}, 'contents', []) TraversalError: ({}, 'contents') 2007-02-28 07:13:34 WARNING ATContentTypes Deprecation Warning Products.ATContentTypes.z3 is deprecated. The z3 interfaces are now in the interface module. Ran 783 tests with 3 failures and 0 errors in 470.366 seconds. Tearing down left over layers: Tear down Products.PloneTestCase.layer.PloneSite in 0.592 seconds. Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds. FAILED (failures=3) |