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

ATContentTypes Tests plone-tests at epy.co.at
Sat Mar 21 04:45:06 UTC 2009


ATContentTypes Tests : FAILED (failures=1) 
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.431 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 7.887 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 5.734 seconds.


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 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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 426, in forms
        return self._factory.forms()
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 559, in forms
        self._forms_factory.forms())
      File "build/bdist.linux-i686/egg/mechanize/_html.py", line 228, in forms
        raise ParseError(exc)
    ParseError: <unprintable ParseError object>
----------------------------------------------------------------------
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 102, in portaltype_criterion.txt
Failed example:
    'Test Document' in browser.contents
Expected:
    True
Got:
    False

  Ran 672 tests with 1 failures and 0 errors in 2 minutes 29.269 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.337 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.017 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.

FAILED (failures=1) 




More information about the Testbot mailing list