[cmf-tests] FAILED (failures=2) : CMF-trunk Zope-trunk Python-2.5.4 : Linux

CMF Tests cmf-tests at epy.co.at
Wed Feb 4 21:33:54 EST 2009


CMF Tests : FAILED (failures=2) 
CMF-trunk Zope-trunk Python-2.5.4 : Linux

Running /usr/local/python2.5/bin/python /home/stefan/autotest/temp/python25-zope212/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python25-zope212-cmf22/etc/zope.conf
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 3.405 seconds.


Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt
Failed doctest test for localsitemanager.txt
  File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 200, in localsitemanager.txt
Failed example:
    list(sitemanager.registeredUtilities())
Expected:
    [UtilityRegistration(<PersistentComponents site>, ITestUtility, u'factory_test', <Utility TestUtility "factory_test">, <function test_utility_factory at 0x...>, u''),
     UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u''),
     UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u'')]
Got:
    [UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u''), UtilityRegistration(<PersistentComponents site>, ITestUtility, u'factory_test', <Utility TestUtility "factory_test">, <function test_utility_factory at 0x41d18614>, u''), UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u'')]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 353, in localsitemanager.txt
Failed example:
    list(sitemanager_a.registeredUtilities())
Expected:
    [UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, None, u''),
     UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u''), 
     UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u'')]
Got:
    [UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u''), UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, None, u''), UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u'')]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 372, in localsitemanager.txt
Failed example:
    aqutils
Expected:
    [<SITestUtility at /a/b/c/si_util_cped>, <Utility AQTestUtility "test">]
Got:
    [<Utility AQTestUtility "test">, <SITestUtility at /a/b/c/si_util_cped>]

  Ran 407 tests with 1 failures and 0 errors in 13.190 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.710 seconds.
  Ran 51 tests with 0 failures and 0 errors in 0.318 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.191 seconds.
  Ran 24 tests with 0 failures and 0 errors in 3.752 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.064 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.004 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.003 seconds.
  Ran 24 tests with 0 failures and 0 errors in 1.375 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.003 seconds.
  Ran 112 tests with 0 failures and 0 errors in 23.753 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.003 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.492 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.003 seconds.
  Ran 68 tests with 0 failures and 0 errors in 4.427 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.269 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.523 seconds.
  Ran 40 tests with 0 failures and 0 errors in 6.068 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.059 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.531 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.059 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.079 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.003 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.003 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.833 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.532 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.090 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.001 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.111 seconds.
  Ran 212 tests with 0 failures and 0 errors in 1.871 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt
Failed doctest test for widgets.txt
  File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt", line 125, in widgets.txt
Failed example:
    print widget.getInputValue()
Expected:
    Traceback (most recent call last):
    ...
    WidgetInputError: ('NAME', u'FIELD TITLE', )
Got:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest widgets.txt[47]>", line 1, in <module>
        print widget.getInputValue()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.py", line 139, in getInputValue
        value = super(IDInputWidget, self).getInputValue()
      File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/app/form/browser/widget.py", line 333, in getInputValue
        raise self._error
    WidgetInputError: ('NAME', u'FIELD TITLE', RequiredMissing())

  Ran 589 tests with 1 failures and 0 errors in 2.152 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1592 tests, 2 failures, 0 errors in 1 minutes 16.370 seconds.

FAILED (failures=2) 


More information about the cmf-tests mailing list