[Zope-tests] UNKNOWN : Zope-trunk Python-2.4.4 : Linux
Zope Tests
zope-tests at epy.co.at
Mon Oct 13 20:58:03 EDT 2008
Zope Tests : UNKNOWN
Zope-trunk Python-2.4.4 : Linux
Running /usr/local/python2.4/bin/python test.py -q --all
Test-module import failures:
Module: zope.testbrowser.tests
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/__init__.py", line 20, in ?
from testing import Browser
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/testing.py", line 25, 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
Running unit tests:
The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-39, started daemon)>, <_DummyThread(Dummy-38, started daemon)>]
Ran 5658 tests with 0 failures and 0 errors in 3 minutes 10.846 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.577 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.164 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.006 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt
Failed doctest test for aqlegacy_ftest.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 12, in aqlegacy_ftest.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 aqlegacy_ftest.txt[4]>", 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/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 13, in aqlegacy_ftest.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 aqlegacy_ftest.txt[5]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 14, in aqlegacy_ftest.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 aqlegacy_ftest.txt[6]>", line 1, in ?
browser.handleErrors = False
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 22, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/attributes')
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 aqlegacy_ftest.txt[7]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/attributes')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 23, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[8]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 31, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/explicitattributes')
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 aqlegacy_ftest.txt[9]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/explicitattributes')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 32, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[10]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 106, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/explicit')
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 aqlegacy_ftest.txt[33]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/explicit')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 107, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[34]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 110, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/explicit_zcmltemplate')
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 aqlegacy_ftest.txt[35]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/explicit_zcmltemplate')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 111, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[36]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 114, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/explicit_template')
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 aqlegacy_ftest.txt[37]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/explicit_template')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 115, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[38]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 118, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/implicit')
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 aqlegacy_ftest.txt[39]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/implicit')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 119, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[40]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 122, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/implicit_template')
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 aqlegacy_ftest.txt[41]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/implicit_template')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 123, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[42]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 126, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
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 aqlegacy_ftest.txt[43]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 127, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[44]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 134, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/aqlegacyprovider')
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 aqlegacy_ftest.txt[45]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/aqlegacyprovider')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 135, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[46]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 138, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/aqlegacymanager')
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 aqlegacy_ftest.txt[47]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/aqlegacymanager')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 139, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[48]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 161, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/++aqlegacy++foo/index.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 aqlegacy_ftest.txt[52]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/++aqlegacy++foo/index.html')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 162, in aqlegacy_ftest.txt
Failed example:
print 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 aqlegacy_ftest.txt[53]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
Failure in test test_check_permission (Products.Five.browser.tests.test_zope3security)
Failed doctest test for Products.Five.browser.tests.test_zope3security.test_check_permission
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 2, in test_check_permission
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 40, in Products.Five.browser.tests.test_zope3security.test_check_permission
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 Products.Five.browser.tests.test_zope3security.test_check_permission[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/lib/python/Products/Five/browser/tests/test_zope3security.py", line 41, in Products.Five.browser.tests.test_zope3security.test_check_permission
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 Products.Five.browser.tests.test_zope3security.test_check_permission[8]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 42, in Products.Five.browser.tests.test_zope3security.test_check_permission
Failed example:
browser.open('http://localhost/test_folder_1_/testoid/@@zope3security.html?permission=zope2.View')
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 Products.Five.browser.tests.test_zope3security.test_check_permission[9]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/testoid/@@zope3security.html?permission=zope2.View')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 43, in Products.Five.browser.tests.test_zope3security.test_check_permission
Failed example:
print 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 Products.Five.browser.tests.test_zope3security.test_check_permission[10]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 45, in Products.Five.browser.tests.test_zope3security.test_check_permission
Failed example:
browser.open('http://localhost/test_folder_1_/testoid/@@zope3security.html?permission=zope2.DeleteObjects')
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 Products.Five.browser.tests.test_zope3security.test_check_permission[11]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/testoid/@@zope3security.html?permission=zope2.DeleteObjects')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/test_zope3security.py", line 46, in Products.Five.browser.tests.test_zope3security.test_check_permission
Failed example:
print 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 Products.Five.browser.tests.test_zope3security.test_check_permission[12]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt
Failed doctest test for makesite.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 33, in makesite.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 makesite.txt[9]>", 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/lib/python/Products/Five/component/makesite.txt", line 34, in makesite.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 makesite.txt[10]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 35, in makesite.txt
Failed example:
browser.addHeader('Authorization', 'Basic manager:r00t')
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 makesite.txt[11]>", line 1, in ?
browser.addHeader('Authorization', 'Basic manager:r00t')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 39, in makesite.txt
Failed example:
browser.open('http://localhost/manage_addProduct/OFSP/folderAdd')
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 makesite.txt[12]>", line 1, in ?
browser.open('http://localhost/manage_addProduct/OFSP/folderAdd')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 40, in makesite.txt
Failed example:
browser.getControl(name='id').value = 'folder'
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 makesite.txt[13]>", line 1, in ?
browser.getControl(name='id').value = 'folder'
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 41, in makesite.txt
Failed example:
browser.getControl('Add').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 makesite.txt[14]>", line 1, in ?
browser.getControl('Add').click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 42, in makesite.txt
Failed example:
browser.getLink('folder').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 makesite.txt[15]>", line 1, in ?
browser.getLink('folder').click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 46, in makesite.txt
Failed example:
browser.open('http://localhost/folder/components.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 makesite.txt[16]>", line 1, in ?
browser.open('http://localhost/folder/components.html')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 47, in makesite.txt
Failed example:
browser.getControl('Make site').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 makesite.txt[17]>", line 1, in ?
browser.getControl('Make site').click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 52, in makesite.txt
Failed example:
ISite.providedBy(app.folder)
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 makesite.txt[19]>", line 1, in ?
ISite.providedBy(app.folder)
AttributeError: folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 58, in makesite.txt
Failed example:
sm = app.folder.getSiteManager()
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 makesite.txt[20]>", line 1, in ?
sm = app.folder.getSiteManager()
AttributeError: folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 60, in makesite.txt
Failed example:
IComponents.providedBy(sm)
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 makesite.txt[22]>", line 1, in ?
IComponents.providedBy(sm)
NameError: name 'sm' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 76, in makesite.txt
Failed example:
sm.registerAdapter(TestView, (IObjectManager, IDefaultBrowserLayer),
Interface, name='testview.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 makesite.txt[29]>", line 1, in ?
sm.registerAdapter(TestView, (IObjectManager, IDefaultBrowserLayer),
NameError: name 'sm' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 81, in makesite.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 makesite.txt[30]>", line 1, in ?
browser.handleErrors = False
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 82, in makesite.txt
Failed example:
browser.open('http://localhost/folder/testview.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 makesite.txt[31]>", line 1, in ?
browser.open('http://localhost/folder/testview.html')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 83, in makesite.txt
Failed example:
print 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 makesite.txt[32]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 92, in makesite.txt
Failed example:
browser.open('http://localhost/folder/components.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 makesite.txt[33]>", line 1, in ?
browser.open('http://localhost/folder/components.html')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 93, in makesite.txt
Failed example:
browser.getControl('Unmake site').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 makesite.txt[34]>", line 1, in ?
browser.getControl('Unmake site').click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 97, in makesite.txt
Failed example:
ISite.providedBy(app.folder)
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 makesite.txt[35]>", line 1, in ?
ISite.providedBy(app.folder)
AttributeError: folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/component/makesite.txt", line 99, in makesite.txt
Failed example:
browser.open('http://localhost/folder/@@testview.html')
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- NotFound: ...
+ File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
+ compileflags, 1) in test.globs
+ File "<doctest makesite.txt[36]>", line 1, in ?
+ browser.open('http://localhost/folder/@@testview.html')
+ NameError: name 'browser' is not defined
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt
Failed doctest test for forms.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 25, in forms.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 forms.txt[8]>", 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/lib/python/Products/Five/form/tests/forms.txt", line 26, in forms.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 forms.txt[9]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 27, in forms.txt
Failed example:
browser.addHeader('Accept-Language', 'en-US')
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 forms.txt[10]>", line 1, in ?
browser.addHeader('Accept-Language', 'en-US')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 35, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/+/addfieldcontent.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 forms.txt[11]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/+/addfieldcontent.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 36, in forms.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 forms.txt[12]>", line 1, in ?
print browser.headers
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 42, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/+/protectedaddform.html")
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- HTTPError: HTTP Error 401: Unauthorized
+ File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
+ compileflags, 1) in test.globs
+ File "<doctest forms.txt[13]>", line 1, in ?
+ browser.open("http://localhost/test_folder_1_/ftf/+/protectedaddform.html")
+ NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 49, in forms.txt
Failed example:
browser.addHeader('Authorization', 'Basic manager:r00t')
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 forms.txt[14]>", line 1, in ?
browser.addHeader('Authorization', 'Basic manager:r00t')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 50, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/+/protectedaddform.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 forms.txt[15]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/+/protectedaddform.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 51, in forms.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 forms.txt[16]>", line 1, in ?
print browser.headers
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 59, in forms.txt
Failed example:
ctl = browser.getControl(name="field.title")
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 forms.txt[17]>", line 1, in ?
ctl = browser.getControl(name="field.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 60, in forms.txt
Failed example:
ctl.value = 'title'
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 forms.txt[18]>", line 1, in ?
ctl.value = 'title'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 61, in forms.txt
Failed example:
ctl = browser.getControl(name="add_input_name")
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 forms.txt[19]>", line 1, in ?
ctl = browser.getControl(name="add_input_name")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 62, in forms.txt
Failed example:
ctl.value = 'edittest'
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 forms.txt[20]>", line 1, in ?
ctl.value = 'edittest'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 63, in forms.txt
Failed example:
browser.getControl(name="UPDATE_SUBMIT").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 forms.txt[21]>", line 1, in ?
browser.getControl(name="UPDATE_SUBMIT").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 67, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/edittest")
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 forms.txt[22]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/edittest")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 68, in forms.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 forms.txt[23]>", line 1, in ?
print browser.headers
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 75, in forms.txt
Failed example:
edittest = self.folder.ftf.edittest
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 forms.txt[24]>", line 1, in ?
edittest = self.folder.ftf.edittest
AttributeError: edittest
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 76, in forms.txt
Failed example:
edittest.title
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 forms.txt[25]>", line 1, in ?
edittest.title
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 78, in forms.txt
Failed example:
edittest.description #XXX shouldn't we get a u'' here???
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 forms.txt[26]>", line 1, in ?
edittest.description #XXX shouldn't we get a u'' here???
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 83, in forms.txt
Failed example:
edittest._created_flag
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 forms.txt[27]>", line 1, in ?
edittest._created_flag
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 90, in forms.txt
Failed example:
edittest._modified_flag
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 forms.txt[28]>", line 1, in ?
edittest._modified_flag
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 92, in forms.txt
Failed example:
del edittest._modified_flag
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 forms.txt[29]>", line 1, in ?
del edittest._modified_flag
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 100, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/edittest/@@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 forms.txt[30]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/edittest/@@edit.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 101, in forms.txt
Failed example:
ctl = browser.getControl(name="field.title")
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 forms.txt[31]>", line 1, in ?
ctl = browser.getControl(name="field.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 102, in forms.txt
Failed example:
ctl.value = ''
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 forms.txt[32]>", line 1, in ?
ctl.value = ''
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 103, in forms.txt
Failed example:
ctl = browser.getControl(name="field.description")
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 forms.txt[33]>", line 1, in ?
ctl = browser.getControl(name="field.description")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 104, in forms.txt
Failed example:
ctl.value = 'BarDescription'
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 forms.txt[34]>", line 1, in ?
ctl.value = 'BarDescription'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 105, in forms.txt
Failed example:
browser.getControl(name="UPDATE_SUBMIT").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 forms.txt[35]>", line 1, in ?
browser.getControl(name="UPDATE_SUBMIT").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 106, in forms.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 forms.txt[36]>", line 1, in ?
print browser.headers
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 109, in forms.txt
Failed example:
print 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 forms.txt[37]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 117, in forms.txt
Failed example:
edittest.title
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 forms.txt[38]>", line 1, in ?
edittest.title
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 119, in forms.txt
Failed example:
edittest.description #XXX shouldn't we get a u'' here???
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 forms.txt[39]>", line 1, in ?
edittest.description #XXX shouldn't we get a u'' here???
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 120, in forms.txt
Failed example:
getattr(edittest, '_modified_flag', 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 forms.txt[40]>", line 1, in ?
getattr(edittest, '_modified_flag', False)
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 125, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/edittest/@@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 forms.txt[41]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/edittest/@@edit.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 126, in forms.txt
Failed example:
ctl = browser.getControl(name="field.title")
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 forms.txt[42]>", line 1, in ?
ctl = browser.getControl(name="field.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 127, in forms.txt
Failed example:
ctl.value = 'FooTitle'
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 forms.txt[43]>", line 1, in ?
ctl.value = 'FooTitle'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 128, in forms.txt
Failed example:
ctl = browser.getControl(name="field.description")
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 forms.txt[44]>", line 1, in ?
ctl = browser.getControl(name="field.description")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 129, in forms.txt
Failed example:
ctl.value = 'FooDescription'
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 forms.txt[45]>", line 1, in ?
ctl.value = 'FooDescription'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 130, in forms.txt
Failed example:
browser.getControl(name="UPDATE_SUBMIT").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 forms.txt[46]>", line 1, in ?
browser.getControl(name="UPDATE_SUBMIT").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 131, in forms.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 forms.txt[47]>", line 1, in ?
print browser.headers
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 137, in forms.txt
Failed example:
edittest.title
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 forms.txt[48]>", line 1, in ?
edittest.title
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 139, in forms.txt
Failed example:
edittest.description
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 forms.txt[49]>", line 1, in ?
edittest.description
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 144, in forms.txt
Failed example:
edittest._modified_flag
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 forms.txt[50]>", line 1, in ?
edittest._modified_flag
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 146, in forms.txt
Failed example:
del edittest._modified_flag
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 forms.txt[51]>", line 1, in ?
del edittest._modified_flag
NameError: name 'edittest' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 488, in forms.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 forms.txt[82]>", 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/lib/python/Products/Five/form/tests/forms.txt", line 489, in forms.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 forms.txt[83]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 490, in forms.txt
Failed example:
browser.addHeader('Accept-Language', 'de')
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 forms.txt[84]>", line 1, in ?
browser.addHeader('Accept-Language', 'de')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 491, in forms.txt
Failed example:
browser.addHeader('Authorization', 'Basic manager:r00t')
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 forms.txt[85]>", line 1, in ?
browser.addHeader('Authorization', 'Basic manager:r00t')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 495, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/+/addfieldcontent.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 forms.txt[86]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/+/addfieldcontent.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 496, in forms.txt
Failed example:
print 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 forms.txt[87]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 510, in forms.txt
Failed example:
ctl = browser.getControl(name="field.somenumber")
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 forms.txt[88]>", line 1, in ?
ctl = browser.getControl(name="field.somenumber")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 511, in forms.txt
Failed example:
ctl.value = '0'
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 forms.txt[89]>", line 1, in ?
ctl.value = '0'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 512, in forms.txt
Failed example:
browser.getControl(name="UPDATE_SUBMIT").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 forms.txt[90]>", line 1, in ?
browser.getControl(name="UPDATE_SUBMIT").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 513, in forms.txt
Failed example:
print 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 forms.txt[91]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 534, in forms.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/i18ntest/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 forms.txt[94]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/i18ntest/edit.html")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 535, in forms.txt
Failed example:
print 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 forms.txt[95]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 548, in forms.txt
Failed example:
ctl = browser.getControl(name="field.title")
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 forms.txt[96]>", line 1, in ?
ctl = browser.getControl(name="field.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 549, in forms.txt
Failed example:
ctl.value = ''
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 forms.txt[97]>", line 1, in ?
ctl.value = ''
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 550, in forms.txt
Failed example:
browser.getControl(name="UPDATE_SUBMIT").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 forms.txt[98]>", line 1, in ?
browser.getControl(name="UPDATE_SUBMIT").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/form/tests/forms.txt", line 551, in forms.txt
Failed example:
print 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 forms.txt[99]>", line 1, in ?
print browser.contents
NameError: name 'browser' is not defined
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt
Failed doctest test for formlib.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 34, in formlib.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 formlib.txt[10]>", 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/lib/python/Products/Five/formlib/tests/formlib.txt", line 35, in formlib.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 formlib.txt[11]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 36, in formlib.txt
Failed example:
browser.addHeader('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')
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 formlib.txt[12]>", line 1, in ?
browser.addHeader('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 37, in formlib.txt
Failed example:
browser.addHeader('Accept-Language', 'en-US')
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 formlib.txt[13]>", line 1, in ?
browser.addHeader('Accept-Language', 'en-US')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 38, in formlib.txt
Failed example:
browser.addHeader('Authorization', 'Basic manager:r00t')
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 formlib.txt[14]>", line 1, in ?
browser.addHeader('Authorization', 'Basic manager:r00t')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 53, in formlib.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/content_1/@@edit_content")
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 formlib.txt[20]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/content_1/@@edit_content")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 55, in formlib.txt
Failed example:
ctl = browser.getControl(name="form.title")
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 formlib.txt[22]>", line 1, in ?
ctl = browser.getControl(name="form.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 56, in formlib.txt
Failed example:
ctl.value = ni_hao
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 formlib.txt[23]>", line 1, in ?
ctl.value = ni_hao
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 57, in formlib.txt
Failed example:
browser.getControl(name="form.actions.apply").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 formlib.txt[24]>", line 1, in ?
browser.getControl(name="form.actions.apply").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 58, in formlib.txt
Failed example:
isinstance(folder.content_1.title, unicode)
Differences (ndiff with -expected +actual):
- True
+ False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 60, in formlib.txt
Failed example:
folder.content_1.title == ni_hao.decode('utf-8')
Differences (ndiff with -expected +actual):
- True
+ False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 65, in formlib.txt
Failed example:
browser.open("http://localhost/test_folder_1_/ftf/@@add_content")
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 formlib.txt[27]>", line 1, in ?
browser.open("http://localhost/test_folder_1_/ftf/@@add_content")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 66, in formlib.txt
Failed example:
ctl = browser.getControl(name="form.id")
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 formlib.txt[28]>", line 1, in ?
ctl = browser.getControl(name="form.id")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 67, in formlib.txt
Failed example:
ctl.value = 'test123'
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 formlib.txt[29]>", line 1, in ?
ctl.value = 'test123'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 68, in formlib.txt
Failed example:
ctl = browser.getControl(name="form.title")
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 formlib.txt[30]>", line 1, in ?
ctl = browser.getControl(name="form.title")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 69, in formlib.txt
Failed example:
ctl.value = ni_hao
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 formlib.txt[31]>", line 1, in ?
ctl.value = ni_hao
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 70, in formlib.txt
Failed example:
browser.getControl(name="form.somelist.add").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 formlib.txt[32]>", line 1, in ?
browser.getControl(name="form.somelist.add").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 71, in formlib.txt
Failed example:
ctl = browser.getControl(name="form.somelist.0.")
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 formlib.txt[33]>", line 1, in ?
ctl = browser.getControl(name="form.somelist.0.")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 72, in formlib.txt
Failed example:
ctl.value = 'a nice list item'
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 formlib.txt[34]>", line 1, in ?
ctl.value = 'a nice list item'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 73, in formlib.txt
Failed example:
browser.getControl(name="form.somelist.add").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 formlib.txt[35]>", line 1, in ?
browser.getControl(name="form.somelist.add").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 74, in formlib.txt
Failed example:
ctl = browser.getControl(name="form.somelist.1.")
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 formlib.txt[36]>", line 1, in ?
ctl = browser.getControl(name="form.somelist.1.")
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 75, in formlib.txt
Failed example:
ctl.value = 'a nice list item'
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 formlib.txt[37]>", line 1, in ?
ctl.value = 'a nice list item'
NameError: name 'ctl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 76, in formlib.txt
Failed example:
browser.getControl(name="form.actions.add").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 formlib.txt[38]>", line 1, in ?
browser.getControl(name="form.actions.add").click()
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/formlib/tests/formlib.txt", line 77, in formlib.txt
Failed example:
print folder.test123.somelist
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 formlib.txt[39]>", line 1, in ?
print folder.test123.somelist
AttributeError: test123
Failure in test doctest_camel_case_headers (Products.Five.tests.test_testbrowser)
Failed doctest test for Products.Five.tests.test_testbrowser.doctest_camel_case_headers
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 57, in doctest_camel_case_headers
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 70, in Products.Five.tests.test_testbrowser.doctest_camel_case_headers
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 Products.Five.tests.test_testbrowser.doctest_camel_case_headers[2]>", 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/lib/python/Products/Five/tests/test_testbrowser.py", line 71, in Products.Five.tests.test_testbrowser.doctest_camel_case_headers
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 Products.Five.tests.test_testbrowser.doctest_camel_case_headers[3]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 72, in Products.Five.tests.test_testbrowser.doctest_camel_case_headers
Failed example:
browser.open('http://localhost/test_folder_1_/stub')
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 Products.Five.tests.test_testbrowser.doctest_camel_case_headers[4]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/stub')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 73, in Products.Five.tests.test_testbrowser.doctest_camel_case_headers
Failed example:
'Content-Length: ' in str(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 Products.Five.tests.test_testbrowser.doctest_camel_case_headers[5]>", line 1, in ?
'Content-Length: ' in str(browser.headers)
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 75, in Products.Five.tests.test_testbrowser.doctest_camel_case_headers
Failed example:
'Content-Type: ' in str(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 Products.Five.tests.test_testbrowser.doctest_camel_case_headers[6]>", line 1, in ?
'Content-Type: ' in str(browser.headers)
NameError: name 'browser' is not defined
Failure in test doctest_cookies (Products.Five.tests.test_testbrowser)
Failed doctest test for Products.Five.tests.test_testbrowser.doctest_cookies
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 30, in doctest_cookies
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 50, in Products.Five.tests.test_testbrowser.doctest_cookies
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 Products.Five.tests.test_testbrowser.doctest_cookies[4]>", 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/lib/python/Products/Five/tests/test_testbrowser.py", line 51, in Products.Five.tests.test_testbrowser.doctest_cookies
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 Products.Five.tests.test_testbrowser.doctest_cookies[5]>", line 1, in ?
browser = Browser()
NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 52, in Products.Five.tests.test_testbrowser.doctest_cookies
Failed example:
browser.open('http://localhost/test_folder_1_/stub')
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 Products.Five.tests.test_testbrowser.doctest_cookies[6]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/stub')
NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/tests/test_testbrowser.py", line 53, in Products.Five.tests.test_testbrowser.doctest_cookies
Failed example:
'Set-Cookie: evil="cookie"' in str(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 Products.Five.tests.test_testbrowser.doctest_cookies[7]>", line 1, in ?
'Set-Cookie: evil="cookie"' in str(browser.headers)
NameError: name 'browser' is not defined
Ran 626 tests with 7 failures and 0 errors in 22.683 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.005 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.123 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.021 seconds.
Running zope.formlib.tests.FormlibLayer tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.formlib.tests.FormlibLayer in 1.616 seconds.
Ran 5 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
Tear down zope.formlib.tests.FormlibLayer in 0.007 seconds.
Set up zope.traversing.tests.layer.TraversingLayer/home/stefan/autotest/temp/python24-zope212/lib/python/zope/configuration/config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated. It has moved to zope.securitypolicy.zopepolicy This reference will be removed somedays
obj = getattr(mod, oname)
in 1.249 seconds.
Ran 7 tests with 0 failures and 0 errors in 0.467 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6330 tests, 7 failures, 0 errors in 34.662 seconds.
Test-modules with import problems:
zope.testbrowser.tests
UNKNOWN
More information about the Zope-tests
mailing list