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

CMF Tests cmf-tests at epy.co.at
Thu Feb 5 21:29:52 EST 2009


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

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope212/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python24-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/python24-zope212-cmf22/etc/zope.conf
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.751 seconds.


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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-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/python24-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/python24-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 8.317 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.736 seconds.
  Ran 51 tests with 0 failures and 0 errors in 0.302 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.250 seconds.
  Ran 24 tests with 0 failures and 0 errors in 3.344 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.069 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.640 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.157 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.342 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.124 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.596 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.504 seconds.
  Ran 40 tests with 0 failures and 0 errors in 5.692 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.060 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.391 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.055 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.063 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.943 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.582 seconds.
  Ran 37 tests with 0 failures and 0 errors in 1.852 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.144 seconds.
  Ran 212 tests with 0 failures and 0 errors in 1.720 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/python24-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt
Failed doctest test for widgets.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-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/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest widgets.txt[47]>", line 1, in ?
        print widget.getInputValue()
      File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFDefault/formlib/widgets.py", line 139, in getInputValue
        value = super(IDInputWidget, self).getInputValue()
      File "/home/stefan/autotest/temp/python24-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.226 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 59.102 seconds.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/local/python2.4/lib/python2.4/logging/handlers.py", line 947, in close
    logging.Handler.close(self)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 674, in close
    del _handlers[self]
KeyError: <ZConfig.components.logger.loghandler.StartupHandler instance at 0x40c11b8c>
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/local/python2.4/lib/python2.4/logging/handlers.py", line 947, in close
    logging.Handler.close(self)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 674, in close
    del _handlers[self]
KeyError: <ZConfig.components.logger.loghandler.StartupHandler instance at 0x40c11b8c>

FAILED (failures=2) 


More information about the cmf-tests mailing list