[cmf-tests] FAILED (failures=1) : CMF-trunk Zope-2.11 Python-2.4.4 : Linux
CMF Tests
cmf-tests at epy.co.at
Mon Oct 13 21:37:51 EDT 2008
CMF Tests : FAILED (failures=1)
CMF-trunk 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 --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 528 tests with 0 failures and 0 errors in 2.658 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.174 seconds.
Ran 353 tests with 0 failures and 0 errors in 5.389 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.134 seconds.
Ran 51 tests with 0 failures and 0 errors in 0.406 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 0.929 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 16, in event.txt
Failed example:
from Products.Five.testbrowser import 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[7]>", line 1, in ?
from Products.Five.testbrowser import Browser
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 23, in ?
import mechanize
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/__init__.py", line 1, in ?
from _mechanize import __version__
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 14, in ?
from _useragent import UserAgent
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_useragent.py", line 18, in ?
import _urllib2
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_urllib2.py", line 27
from urllib2 import \
SyntaxError: trailing comma not allowed without surrounding parentheses
----------------------------------------------------------------------
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()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
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 3.072 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.079 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.004 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.004 seconds.
Ran 24 tests with 0 failures and 0 errors in 2.084 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 112 tests with 0 failures and 0 errors in 21.315 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 15 tests with 0 failures and 0 errors in 1.693 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.005 seconds.
Ran 68 tests with 0 failures and 0 errors in 6.028 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.751 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.675 seconds.
Ran 40 tests with 0 failures and 0 errors in 7.653 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.081 seconds.
Set up Products.CMFTopic.testing.FunctionalLayer in 0.519 seconds.
Ran 1 tests with 0 failures and 0 errors in 0.073 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
Tear down Products.CMFTopic.testing.FunctionalLayer in 0.084 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.003 seconds.
Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.004 seconds.
Ran 12 tests with 0 failures and 0 errors in 1.142 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.690 seconds.
Ran 37 tests with 0 failures and 0 errors in 2.253 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.002 seconds.
Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.151 seconds.
Ran 212 tests with 0 failures and 0 errors in 2.264 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: 1477 tests, 1 failures, 0 errors in 1 minutes 5.580 seconds.
FAILED (failures=1)
More information about the cmf-tests
mailing list