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

CMF Tests cmf-tests at epy.co.at
Fri Dec 5 21:05:03 EST 2008


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

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/ActionProviderBase.py:81: DeprecationWarning: Old-style actions are deprecated and will be removed in CMF 2.4. Use Action and Action Category objects instead.
  for ai in self.listActions():
  Ran 529 tests with 0 failures and 0 errors in 2.652 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.177 seconds.
  Ran 354 tests with 0 failures and 0 errors in 5.613 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.562 seconds.
  Ran 51 tests with 0 failures and 0 errors in 0.451 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.190 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt
Failed doctest test for event.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 17, in event.txt
Failed example:
    browser = Browser()
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 event.txt[8]>", line 1, in ?
        browser = Browser()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
        mech_browser = PublisherMechanizeBrowser()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
        self.handler_classes[name] = mechanize.Browser.handler_classes[name]
    KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 18, in event.txt
Failed example:
    browser.handleErrors = False
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 event.txt[9]>", line 1, in ?
        browser.handleErrors = False
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 19, in event.txt
Failed example:
    browser.addHeader('Authorization', 'Basic mgr:mgrpw')
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 event.txt[10]>", line 1, in ?
        browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 23, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@edit.html')
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 event.txt[11]>", line 1, in ?
        browser.open('http://localhost/site/myEvent/@@edit.html')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 24, in event.txt
Failed example:
    browser.getControl('[[cmf_calendar][From]]').value = 'a'
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 event.txt[12]>", line 1, in ?
        browser.getControl('[[cmf_calendar][From]]').value = 'a'
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 25, in event.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
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 event.txt[13]>", line 1, in ?
        browser.getControl('[[cmf_default][Change]]').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 26, in event.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
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 event.txt[14]>", line 1, in ?
        '[[zope][There were errors]]' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 28, in event.txt
Failed example:
    '[[zope][Invalid datetime data]]' in browser.contents
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 event.txt[15]>", line 1, in ?
        '[[zope][Invalid datetime data]]' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 33, in event.txt
Failed example:
    browser.getControl('[[cmf_calendar][From]]').value = '2006 11 6  12:00:00 '
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 event.txt[16]>", line 1, in ?
        browser.getControl('[[cmf_calendar][From]]').value = '2006 11 6  12:00:00 '
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 34, in event.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
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 event.txt[17]>", line 1, in ?
        browser.getControl('[[cmf_default][Change]]').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 35, in event.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
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 event.txt[18]>", line 1, in ?
        '[[zope][There were errors]]' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 40, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@view.html')
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 event.txt[19]>", line 1, in ?
        browser.open('http://localhost/site/myEvent/@@view.html')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 41, in event.txt
Failed example:
    '2006 11 6  12:00:00 ' in browser.contents
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 event.txt[20]>", line 1, in ?
        '2006 11 6  12:00:00 ' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 45, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@view.ics')
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 event.txt[21]>", line 1, in ?
        browser.open('http://localhost/site/myEvent/@@view.ics')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 46, in event.txt
Failed example:
    print browser.headers
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 event.txt[22]>", line 1, in ?
        print browser.headers
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 53, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@view.vcs')
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 event.txt[23]>", line 1, in ?
        browser.open('http://localhost/site/myEvent/@@view.vcs')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCalendar/browser/event.txt", line 54, in event.txt
Failed example:
    print browser.headers
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 event.txt[24]>", line 1, in ?
        print browser.headers
    NameError: name 'browser' is not defined

  Ran 24 tests with 1 failures and 0 errors in 2.718 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.067 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.895 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 18.864 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.577 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 68 tests with 0 failures and 0 errors in 5.388 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.560 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.730 seconds.
  Ran 40 tests with 0 failures and 0 errors in 7.185 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.422 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.003 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.985 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.539 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.592 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.959 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: 1479 tests, 1 failures, 0 errors in 1 minutes 1.949 seconds.

FAILED (failures=1)


More information about the cmf-tests mailing list