[Testbot] FAILED (failures=3) : ATCT-trunk Plone-trunk Zope-trunk Python-2.5.4

ATContentTypes Tests plone-tests at epy.co.at
Wed Feb 25 06:19:44 UTC 2009


ATContentTypes Tests : FAILED (failures=3) 
ATCT-trunk Plone-trunk Zope-trunk Python-2.5.4

Running /usr/local/python2.5/bin/python ./bin/test --package Products.ATContentTypes
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 2.478 seconds.
  Set up Products.PloneTestCase.layer.ZCML/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py:196: DeprecationWarning: IHideFromBreadcrumbs is deprecated. It has been moved to plone.navigation.interfaces. This alias will be removed in Plone 5.0
  obj = getattr(mod, oname)
 in 8.413 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/utils.py:502: DeprecationWarning: raising a string exception is deprecated
  action ='./manage_main',)
 in 6.786 seconds.


Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt
Failed doctest test for editing.txt
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 15, in editing.txt
Failed example:
    browser.getControl('Login Name').value = 'test_user_1_'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[4]>", line 1, in <module>
        browser.getControl('Login Name').value = 'test_user_1_'
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 16, in editing.txt
Failed example:
    browser.getControl('Password').value = 'secret'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[5]>", line 1, in <module>
        browser.getControl('Password').value = 'secret'
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 17, in editing.txt
Failed example:
    browser.getControl('Log in').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[6]>", line 1, in <module>
        browser.getControl('Log in').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 35, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[12]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
        '_open', req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 150, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 119, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 42, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 123, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
      File "PythonExpr", line 1, in <expression>
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 5, in at_isEditable
    Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 36, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[13]>", line 1, in <module>
        browser.getControl('Title').value = ''
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 37, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[14]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 54, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[20]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
        '_open', req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 150, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 119, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 42, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 123, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
      File "PythonExpr", line 1, in <expression>
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 5, in at_isEditable
    Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 55, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[21]>", line 1, in <module>
        browser.getControl('Title').value = ''
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 56, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[22]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 68, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[25]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
        '_open', req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 150, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 119, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 42, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 123, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
      File "PythonExpr", line 1, in <expression>
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 5, in at_isEditable
    Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 69, in editing.txt
Failed example:
    browser.getControl('Save').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[26]>", line 1, in <module>
        browser.getControl('Save').name
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 72, in editing.txt
Failed example:
    browser.getControl('Cancel').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[27]>", line 1, in <module>
        browser.getControl('Cancel').name
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 93, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[37]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
        '_open', req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 150, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 119, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/ZPublisher/Publish.py", line 42, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 123, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
      File "PythonExpr", line 1, in <expression>
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 5, in at_isEditable
    Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 94, in editing.txt
Failed example:
    browser.getControl('Next').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[38]>", line 1, in <module>
        browser.getControl('Next').name
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 97, in editing.txt
Failed example:
    browser.getLink('someschemata').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[39]>", line 1, in <module>
        browser.getLink('someschemata').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 624, in find_link
        return self._filter_links(self._factory.links(), **kwds).next()
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 645, in _filter_links
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 98, in editing.txt
Failed example:
    browser.getControl('Previous').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[40]>", line 1, in <module>
        browser.getControl('Previous').name
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt
Failed doctest test for portaltype_criterion.txt
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[4]>", line 1, in <module>
        browser.getControl('Login Name').value = portal_owner
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[5]>", line 1, in <module>
        browser.getControl('Password').value = default_password
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[6]>", line 1, in <module>
        browser.getControl('Log in').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 27, in portaltype_criterion.txt
Failed example:
    browser.getLink('Add new').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[8]>", line 1, in <module>
        browser.getLink('Add new').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 28, in portaltype_criterion.txt
Failed example:
    'Add new item' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 30, in portaltype_criterion.txt
Failed example:
    browser.getControl('Collection').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[10]>", line 1, in <module>
        browser.getControl('Collection').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Collection'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 31, in portaltype_criterion.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[11]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 33, in portaltype_criterion.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/portal_factory/Topic/topic.../edit'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 39, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[13]>", line 1, in <module>
        browser.getControl(name = 'title').value = 'My Collection'
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 40, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[14]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 41, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 43, in portaltype_criterion.txt
Failed example:
    'My Collection' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 48, in portaltype_criterion.txt
Failed example:
    browser.getLink('Criteria').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[17]>", line 1, in <module>
        browser.getLink('Criteria').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 49, in portaltype_criterion.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/my-collection/criterion_edit_form'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 53, in portaltype_criterion.txt
Failed example:
    'Add New Search Criteria' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 58, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[20]>", line 1, in <module>
        browser.getControl(name='field', index=0).value = ['Type']
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'field'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 59, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[21]>", line 1, in <module>
        browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'criterion_type'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 60, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='form.button.AddCriterion').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[22]>", line 1, in <module>
        browser.getControl(name='form.button.AddCriterion').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'form.button.AddCriterion'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 61, in portaltype_criterion.txt
Failed example:
    'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 66, in portaltype_criterion.txt
Failed example:
    browser.getControl('Page')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[24]>", line 1, in <module>
        browser.getControl('Page')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 71, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[25]>", line 1, in <module>
        browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'crit__Type_ATPortalTypeCriterion_value:list'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 72, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save', index=0).click() 
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[26]>", line 1, in <module>
        browser.getControl('Save', index=0).click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 73, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 95, in portaltype_criterion.txt
Failed example:
    browser.getLink('View').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[33]>", line 1, in <module>
        browser.getLink('View').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 96, in portaltype_criterion.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/my-collection/'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 101, in portaltype_criterion.txt
Failed example:
    'Test Document' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 111, in portaltype_criterion.txt
Failed example:
    browser.getLink('Site Setup').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[37]>", line 1, in <module>
        browser.getLink('Site Setup').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 112, in portaltype_criterion.txt
Failed example:
    browser.getLink('Language').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[38]>", line 1, in <module>
        browser.getLink('Language').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 113, in portaltype_criterion.txt
Failed example:
    browser.getControl('Site language').value = ['de']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[39]>", line 1, in <module>
        browser.getControl('Site language').value = ['de']
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Site language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 114, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[40]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 121, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[41]>", line 1, in <module>
        browser.open('http://nohost/plone/my-collection/criterion_edit_form')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 261, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found



Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt
Failed doctest test for uploading.txt
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[5]>", line 1, in <module>
        browser.getControl('Login Name').value = portal_owner
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[6]>", line 1, in <module>
        browser.getControl('Password').value = default_password
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[7]>", line 1, in <module>
        browser.getControl('Log in').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 21, in uploading.txt
Failed example:
    browser.getLink('Add new').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[9]>", line 1, in <module>
        browser.getLink('Add new').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 22, in uploading.txt
Failed example:
    'Add new item' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 24, in uploading.txt
Failed example:
    browser.getControl('Page').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[11]>", line 1, in <module>
        browser.getControl('Page').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 25, in uploading.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[12]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 26, in uploading.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/portal_factory/Document/document.../edit'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 32, in uploading.txt
Failed example:
    browser.getControl(name='title').value = 'test document'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[14]>", line 1, in <module>
        browser.getControl(name='title').value = 'test document'
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 33, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[15]>", line 1, in <module>
        browser.getControl(name='text').value = 'This will be ignored.'
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'text'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 34, 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/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[16]>", line 1, in <module>
        browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'text_file'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 35, in uploading.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[17]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 36, in uploading.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/test-document'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 38, in uploading.txt
Failed example:
    'file contents' in browser.contents
Expected:
    True
Got:
    False

  Ran 695 tests with 3 failures and 0 errors in 2 minutes 34.904 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.380 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.020 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.

FAILED (failures=3) 




More information about the Testbot mailing list