[cmf-tests] FAILED (failures=1) : CMF-2.1 Zope-2.11 Python-2.4.4 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Fri Feb 29 22:24:10 EST 2008


CMF Unit Tests : FAILED (failures=1)
CMF-2.1 Zope-2.11 Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --package-path Products Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21/etc/zope.conf
Running unit tests:
  Ran 487 tests with 0 failures and 0 errors in 2.789 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.316 seconds.


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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 58, in localsitemanager.txt
Failed example:
    zope.component.queryUtility(ITestUtility, name=u'hello_world')
Expected:
    <Utility TestUtility "test">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 99, in localsitemanager.txt
Failed example:
    zope.component.queryAdapter(Foo('foo'), ITestAdapter)
Expected:
    <Adapter TestAdapter adapting "foo">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 101, in localsitemanager.txt
Failed example:
    ITestAdapter(Foo('foo'))
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest localsitemanager.txt[32]>", line 1, in ?
        ITestAdapter(Foo('foo'))
    TypeError: ('Could not adapt', <Foo object at 0xb654246c>, <InterfaceClass __builtin__.ITestAdapter>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 286, in localsitemanager.txt
Failed example:
    util1
Expected:
    <Utility AQTestUtility "util1">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 289, in localsitemanager.txt
Failed example:
    util1.aq_chain
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest localsitemanager.txt[96]>", line 1, in ?
        util1.aq_chain
    AttributeError: 'NoneType' object has no attribute 'aq_chain'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 301, in localsitemanager.txt
Failed example:
    util1
Expected:
    <Utility AQTestUtility "util1">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 307, in localsitemanager.txt
Failed example:
    util1.aq_chain
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest localsitemanager.txt[101]>", line 1, in ?
        util1.aq_chain
    AttributeError: 'NoneType' object has no attribute 'aq_chain'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 311, in localsitemanager.txt
Failed example:
    util1_1
Expected:
    <Utility AQTestUtility "util1_1">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 314, in localsitemanager.txt
Failed example:
    util1_1.aq_chain
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest localsitemanager.txt[104]>", line 1, in ?
        util1_1.aq_chain
    AttributeError: 'NoneType' object has no attribute 'aq_chain'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 366, in localsitemanager.txt
Failed example:
    localutil1
Expected:
    <Utility AQTestUtility "localutil1">
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/lib/python/five/localsitemanager/localsitemanager.txt", line 369, in localsitemanager.txt
Failed example:
    localutil1.aq_chain
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest localsitemanager.txt[121]>", line 1, in ?
        localutil1.aq_chain
    AttributeError: 'NoneType' object has no attribute 'aq_chain'

  Ran 400 tests with 1 failures and 0 errors in 8.049 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.773 seconds.
  Ran 53 tests with 0 failures and 0 errors in 0.418 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.981 seconds.
  Ran 21 tests with 0 failures and 0 errors in 3.806 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.070 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.004 seconds.
  Ran 26 tests with 0 failures and 0 errors in 2.016 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.004 seconds.
  Ran 109 tests with 0 failures and 0 errors in 18.017 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.005 seconds.
  Ran 16 tests with 0 failures and 0 errors in 1.695 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.004 seconds.
  Ran 69 tests with 0 failures and 0 errors in 6.403 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.665 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.635 seconds.
  Ran 50 tests with 0 failures and 0 errors in 8.203 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.065 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Ran 12 tests with 0 failures and 0 errors in 1.061 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.004 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.624 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.086 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.128 seconds.
  Ran 200 tests with 0 failures and 0 errors in 1.595 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1480 tests, 1 failures, 0 errors in 1 minutes 3.667 seconds.

FAILED (failures=1)


More information about the cmf-tests mailing list