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

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


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

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope212/test.py -q --config-file etc/zope.conf --package-path Products Products
Parsing /home/stefan/autotest/temp/python24-zope212-cmf22/etc/zope.conf
Running unit tests:
  Ran 295 tests with 0 failures and 0 errors in 2.659 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.125 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 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-zope212-cmf22/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-zope212-cmf22/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-zope212/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 0xb666da8c>, <InterfaceClass __builtin__.ITestAdapter>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22/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-zope212-cmf22/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-zope212/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-zope212-cmf22/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-zope212-cmf22/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-zope212/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-zope212-cmf22/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-zope212-cmf22/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-zope212/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-zope212-cmf22/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-zope212-cmf22/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-zope212/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 295 tests with 1 failures and 0 errors in 4.688 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.402 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.000 seconds.
  Ran 99 tests with 0 failures and 0 errors in 17.758 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.699 seconds.
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/CopySupport.py:525: PendingDeprecationWarning: raising a string exception is deprecated
  action = 'manage_main')
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/CopySupport.py:519: PendingDeprecationWarning: raising a string exception is deprecated
  action = 'manage_main')
  Ran 50 tests with 0 failures and 0 errors in 0.374 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Ran 10 tests with 0 failures and 0 errors in 1.035 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.000 seconds.
  Ran 68 tests with 0 failures and 0 errors in 5.628 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.143 seconds.
  Ran 186 tests with 0 failures and 0 errors in 2.003 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: 1008 tests, 1 failures, 0 errors in 35.976 seconds.

FAILED (failures=1)


More information about the cmf-tests mailing list