[Zope-tests] FAILED (failures=7) : Zope-2.11 Python-2.4.5 : Linux
Zope Tests
zope-tests at epy.co.at
Sat Dec 6 20:28:58 EST 2008
Zope Tests : FAILED (failures=7)
Zope-2.11 Python-2.4.5 : Linux
Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:
The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-36, started daemon)>]
Ran 5849 tests with 0 failures and 0 errors in 3 minutes 2.294 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.475 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.117 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.005 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
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-zope211/lib/python/Products/Five/browser/tests/test_zope3security.py", line 5, in test_check_permission
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/browser/tests/test_zope3security.py", line 44, 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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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.View')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest 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-zope211/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-zope211/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-zope211/lib/python/Products/Five/browser/tests/test_zope3security.py", line 48, 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-zope211/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-zope211/lib/python/Products/Five/browser/tests/test_zope3security.py", line 49, 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-zope211/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-zope211/lib/python/Products/Five/component/makesite.txt
Failed doctest test for makesite.txt
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/component/makesite.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/lib/python/Products/Five/form/tests/forms.txt
Failed doctest test for forms.txt
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/form/tests/forms.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/lib/python/Products/Five/formlib/tests/formlib.txt
Failed doctest test for formlib.txt
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/formlib/tests/formlib.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/lib/python/Products/Five/tests/test_testbrowser.py", line 57, in doctest_camel_case_headers
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/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-zope211/lib/python/Products/Five/tests/test_testbrowser.py", line 30, in doctest_cookies
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
mech_browser = PublisherMechanizeBrowser()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/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-zope211/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-zope211/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 673 tests with 6 failures and 0 errors in 22.636 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.194 seconds.
Ran 16 tests with 0 failures and 0 errors in 0.409 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.003 seconds.
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.094 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.017 seconds.
Running zope.formlib.tests.FormlibLayer tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.formlib.tests.FormlibLayer in 1.260 seconds.
Ran 5 tests with 0 failures and 0 errors in 0.011 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
Tear down zope.formlib.tests.FormlibLayer in 0.006 seconds.
Set up zope.testbrowser.tests.TestBrowserLayer in 1.099 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt
Failed doctest test for over_the_wire.txt
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt", line 33, in over_the_wire.txt
Failed example:
browser.getControl('Google Search').click()
Expected:
Traceback (most recent call last):
...
RobotExclusionError: HTTP Error 403: request disallowed by robots.txt
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest over_the_wire.txt[7]>", line 1, in ?
browser.getControl('Google Search').click()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 591, in click
self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 380, in _clickSubmit
self.mech_browser.open(form.click(
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 206, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 257, in _mech_open
raise response
httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt
Ran 108 tests with 1 failures and 0 errors in 2.735 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
Tear down zope.testbrowser.tests.TestBrowserLayer in 0.006 seconds.
Set up zope.traversing.tests.layer.TraversingLayer in 0.998 seconds.
Ran 7 tests with 0 failures and 0 errors in 0.357 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.006 seconds.
Total: 6692 tests, 7 failures, 0 errors in 40.082 seconds.
FAILED (failures=7)
More information about the Zope-tests
mailing list