[Testbot] FAILED (failures=2) : ATCT-1.2 Plone-3.2 Zope-2.11 Python-2.4.5

ATContentTypes Tests plone-tests at epy.co.at
Sat Dec 6 06:43:36 UTC 2008


ATContentTypes Tests : FAILED (failures=2)
ATCT-1.2 Plone-3.2 Zope-2.11 Python-2.4.5

Running /usr/local/python2.4/bin/python ./bin/instance test -q --package Products.ATContentTypes
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.929 seconds.
  Set up Products.PloneTestCase.layer.ZCML/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
 in 11.782 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.PlonePAS/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
 in 11.744 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt
Failed doctest test for portaltype_criterion.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 5, in portaltype_criterion.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 portaltype_criterion.txt[1]>", 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-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 6, in portaltype_criterion.txt
Failed example:
    browser.open('http://nohost/plone')
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 portaltype_criterion.txt[2]>", line 1, in ?
        browser.open('http://nohost/plone')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 11, in portaltype_criterion.txt
Failed example:
    browser.getControl('Login Name').value = portal_owner
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 portaltype_criterion.txt[4]>", line 1, in ?
        browser.getControl('Login Name').value = portal_owner
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 12, in portaltype_criterion.txt
Failed example:
    browser.getControl('Password').value = default_password
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 portaltype_criterion.txt[5]>", line 1, in ?
        browser.getControl('Password').value = default_password
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 13, in portaltype_criterion.txt
Failed example:
    browser.getControl('Log in').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 portaltype_criterion.txt[6]>", line 1, in ?
        browser.getControl('Log in').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 30, in portaltype_criterion.txt
Failed example:
    browser.getLink('Add new').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 portaltype_criterion.txt[7]>", line 1, in ?
        browser.getLink('Add new').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 31, in portaltype_criterion.txt
Failed example:
    'Add new item' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[8]>", line 1, in ?
        'Add new item' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 33, in portaltype_criterion.txt
Failed example:
    browser.getControl('Collection').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 portaltype_criterion.txt[9]>", line 1, in ?
        browser.getControl('Collection').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 34, in portaltype_criterion.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 portaltype_criterion.txt[10]>", line 1, in ?
        browser.getControl('Add').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 36, in portaltype_criterion.txt
Failed example:
    browser.url
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 portaltype_criterion.txt[11]>", line 1, in ?
        browser.url
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 42, in portaltype_criterion.txt
Failed example:
    browser.getControl(name = 'title').value = 'My Collection'
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 portaltype_criterion.txt[12]>", line 1, in ?
        browser.getControl(name = 'title').value = 'My Collection'
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 43, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').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 portaltype_criterion.txt[13]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 44, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[14]>", line 1, in ?
        'Changes saved.' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 46, in portaltype_criterion.txt
Failed example:
    'My Collection' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[15]>", line 1, in ?
        'My Collection' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 51, in portaltype_criterion.txt
Failed example:
    browser.getLink('Criteria').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 portaltype_criterion.txt[16]>", line 1, in ?
        browser.getLink('Criteria').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 52, in portaltype_criterion.txt
Failed example:
    browser.url
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 portaltype_criterion.txt[17]>", line 1, in ?
        browser.url
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 56, in portaltype_criterion.txt
Failed example:
    'Add New Search Criteria' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[18]>", line 1, in ?
        'Add New Search Criteria' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 61, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='field', index=0).value = ['Type']
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 portaltype_criterion.txt[19]>", line 1, in ?
        browser.getControl(name='field', index=0).value = ['Type']
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 62, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
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 portaltype_criterion.txt[20]>", line 1, in ?
        browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 63, in portaltype_criterion.txt
Failed example:
    browser.getControl('Add criteria').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 portaltype_criterion.txt[21]>", line 1, in ?
        browser.getControl('Add criteria').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 64, in portaltype_criterion.txt
Failed example:
    'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[22]>", line 1, in ?
        'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 69, in portaltype_criterion.txt
Failed example:
    browser.getControl('Page')
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 portaltype_criterion.txt[23]>", line 1, in ?
        browser.getControl('Page')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 74, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
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 portaltype_criterion.txt[24]>", line 1, in ?
        browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 75, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save', index=0).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 portaltype_criterion.txt[25]>", line 1, in ?
        browser.getControl('Save', index=0).click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 76, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[26]>", line 1, in ?
        'Changes saved.' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 98, in portaltype_criterion.txt
Failed example:
    browser.getLink('View').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 portaltype_criterion.txt[32]>", line 1, in ?
        browser.getLink('View').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 99, in portaltype_criterion.txt
Failed example:
    browser.url
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 portaltype_criterion.txt[33]>", line 1, in ?
        browser.url
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 104, in portaltype_criterion.txt
Failed example:
    'Test Document' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[34]>", line 1, in ?
        'Test Document' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 106, in portaltype_criterion.txt
Failed example:
    'There are currently no results for this search.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[35]>", line 1, in ?
        'There are currently no results for this search.' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 114, in portaltype_criterion.txt
Failed example:
    browser.getLink('Site Setup').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 portaltype_criterion.txt[36]>", line 1, in ?
        browser.getLink('Site Setup').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 115, in portaltype_criterion.txt
Failed example:
    browser.getLink('Language').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 portaltype_criterion.txt[37]>", line 1, in ?
        browser.getLink('Language').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 116, in portaltype_criterion.txt
Failed example:
    browser.getControl('Site language').value = ['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 portaltype_criterion.txt[38]>", line 1, in ?
        browser.getControl('Site language').value = ['de']
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 117, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').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 portaltype_criterion.txt[39]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 124, in portaltype_criterion.txt
Failed example:
    browser.open('http://nohost/plone/my-collection/criterion_edit_form')
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 portaltype_criterion.txt[40]>", line 1, in ?
        browser.open('http://nohost/plone/my-collection/criterion_edit_form')
    NameError: name 'browser' is not defined



Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt
Failed doctest test for uploading.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 8, in uploading.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 uploading.txt[2]>", 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-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 9, in uploading.txt
Failed example:
    browser.open('http://nohost/plone')
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 uploading.txt[3]>", line 1, in ?
        browser.open('http://nohost/plone')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 14, in uploading.txt
Failed example:
    browser.getControl('Login Name').value = portal_owner
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 uploading.txt[5]>", line 1, in ?
        browser.getControl('Login Name').value = portal_owner
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 15, in uploading.txt
Failed example:
    browser.getControl('Password').value = default_password
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 uploading.txt[6]>", line 1, in ?
        browser.getControl('Password').value = default_password
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 16, in uploading.txt
Failed example:
    browser.getControl('Log in').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 uploading.txt[7]>", line 1, in ?
        browser.getControl('Log in').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 20, in uploading.txt
Failed example:
    browser.getLink('Add new').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 uploading.txt[8]>", line 1, in ?
        browser.getLink('Add new').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 21, in uploading.txt
Failed example:
    'Add new item' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[9]>", line 1, in ?
        'Add new item' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 23, in uploading.txt
Failed example:
    browser.getControl('Page').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 uploading.txt[10]>", line 1, in ?
        browser.getControl('Page').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 24, in uploading.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 uploading.txt[11]>", line 1, in ?
        browser.getControl('Add').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 25, in uploading.txt
Failed example:
    browser.url
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 uploading.txt[12]>", line 1, in ?
        browser.url
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 31, in uploading.txt
Failed example:
    browser.getControl(name='title').value = 'test document'
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 uploading.txt[13]>", line 1, in ?
        browser.getControl(name='title').value = 'test document'
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 32, in uploading.txt
Failed example:
    browser.getControl(name='text').value = 'This will be ignored.'
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 uploading.txt[14]>", line 1, in ?
        browser.getControl(name='text').value = 'This will be ignored.'
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 33, in uploading.txt
Failed example:
    browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
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 uploading.txt[15]>", line 1, in ?
        browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 34, in uploading.txt
Failed example:
    browser.getControl('Save').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 uploading.txt[16]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 35, in uploading.txt
Failed example:
    browser.url
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 uploading.txt[17]>", line 1, in ?
        browser.url
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 37, in uploading.txt
Failed example:
    'file contents' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[18]>", line 1, in ?
        'file contents' in browser.contents
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 39, in uploading.txt
Failed example:
    'This will be ignored.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[19]>", line 1, in ?
        'This will be ignored.' in browser.contents
    NameError: name 'browser' is not defined

  Ran 805 tests with 2 failures and 0 errors in 3 minutes 37.097 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)
 in 0.606 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.015 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.

FAILED (failures=2)




More information about the Testbot mailing list