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

CMF Tests cmf-tests at epy.co.at
Thu Feb 5 21:31:23 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
/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/__init__.py:4: DeprecationWarning: ISite is deprecated. Moved to zope.location.interfaces. Importing from here will stop working in Zope 3.6
  from zope.app.component.interfaces import ISite
Parsing /home/stefan/autotest/temp/python25-zope212-cmf22/etc/zope.conf
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.771 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 193, in localsitemanager.txt
Failed example:
    list(sitemanager.registeredUtilities())
Expected:
    [UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, u''),
     UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u'')]
Got:
    [UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, 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 345, in localsitemanager.txt
Failed example:
    list(sitemanager_a.registeredUtilities())
Expected:
    [UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, u''),
     UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u''),
     UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, 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 364, 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 406 tests with 1 failures and 0 errors in 9.034 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.996 seconds.
  Ran 51 tests with 0 failures and 0 errors in 0.328 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.658 seconds.
  Ran 24 tests with 0 failures and 0 errors in 4.017 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.072 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.423 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 16.137 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.004 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.451 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.722 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.606 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.558 seconds.
  Ran 40 tests with 0 failures and 0 errors in 5.987 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.063 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.402 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.056 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.066 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.003 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.005 seconds.
  Ran 12 tests with 0 failures and 0 errors in 1.238 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.816 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.783 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.146 seconds.
  Ran 212 tests with 0 failures and 0 errors in 2.316 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.183 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1591 tests, 2 failures, 0 errors in 1 minutes 4.947 seconds.

FAILED (failures=2) 


More information about the cmf-tests mailing list