[cmf-tests] FAILED (failures=1) : CMF-trunk Zope-trunk Python-2.4.4 : Linux
CMF Tests
cmf-tests at epy.co.at
Mon Oct 13 21:39:21 EDT 2008
CMF 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 --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope212-cmf22/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope212-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 3.082 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.699 seconds.
Ran 353 tests with 0 failures and 0 errors in 7.830 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 3.833 seconds.
Ran 51 tests with 0 failures and 0 errors in 0.553 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 0.888 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFCalendar/browser/event.txt
Failed doctest test for event.txt
File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFCalendar/browser/event.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-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-zope212/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-zope212/lib/python/Products/Five/testbrowser.py", line 23, in ?
import mechanize
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/__init__.py", line 1, in ?
from _mechanize import __version__
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 14, in ?
from _useragent import UserAgent
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_useragent.py", line 18, in ?
import _urllib2
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_urllib2.py", line 27
from urllib2 import \
SyntaxError: trailing comma not allowed without surrounding parentheses
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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-zope212-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-zope212/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.174 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.171 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.045 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.024 seconds.
Ran 112 tests with 0 failures and 0 errors in 20.539 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.006 seconds.
Ran 15 tests with 0 failures and 0 errors in 1.547 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.006 seconds.
Ran 68 tests with 0 failures and 0 errors in 5.002 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.711 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.653 seconds.
Ran 40 tests with 0 failures and 0 errors in 7.740 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.076 seconds.
Set up Products.CMFTopic.testing.FunctionalLayer in 0.497 seconds.
Ran 1 tests with 0 failures and 0 errors in 0.075 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
Tear down Products.CMFTopic.testing.FunctionalLayer in 0.073 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.003 seconds.
Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.005 seconds.
Ran 12 tests with 0 failures and 0 errors in 1.033 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.714 seconds.
Ran 37 tests with 0 failures and 0 errors in 2.256 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.148 seconds.
Ran 212 tests with 0 failures and 0 errors in 2.437 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 9.951 seconds.
FAILED (failures=1)
More information about the cmf-tests
mailing list