[Testbot] FAILED (failures=1) : ATCT-1.2 Plone-3.2 Zope-2.10 Python-2.4.6

ATContentTypes Tests plone-tests at epy.co.at
Wed Apr 8 04:56:22 UTC 2009


ATContentTypes Tests : FAILED (failures=1) 
ATCT-1.2 Plone-3.2 Zope-2.10 Python-2.4.6

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


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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 61, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='field', index=0).value = ['Type']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[19]>", line 1, in ?
        browser.getControl(name='field', index=0).value = ['Type']
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 334, in getControl
        intermediate, msg = self._get_all_controls(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 309, in forms
        return self._factory.forms()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_html.py", line 560, in forms
        self._forms_genf = CachingGeneratorFunction(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_html.py", line 276, in forms
        encoding=encoding,
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 929, in ParseResponse
        encoding,
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 959, in ParseFile
        fp.feed(data)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 95, in feed
        self.goahead(0)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 129, in goahead
        k = self.parse_starttag(i)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 283, in parse_starttag
        self.finish_starttag(tag, attrs)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 317, in finish_starttag
        self.handle_starttag(tag, method, attrs)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 357, in handle_starttag
        method(attrs)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 811, in do_option
        _AbstractFormParser._start_option(self, attrs)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 547, in _start_option
        raise ParseError("OPTION outside of SELECT")
    ParseError: OPTION outside of SELECT
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 64, in portaltype_criterion.txt
Failed example:
    'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 69, in portaltype_criterion.txt
Failed example:
    browser.getControl('Page')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[23]>", line 1, in ?
        browser.getControl('Page')
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 334, in getControl
        intermediate, msg = self._get_all_controls(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 309, in forms
        return self._factory.forms()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_html.py", line 560, in forms
        self._forms_genf = CachingGeneratorFunction(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_html.py", line 276, in forms
        encoding=encoding,
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 929, in ParseResponse
        encoding,
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 959, in ParseFile
        fp.feed(data)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 95, in feed
        self.goahead(0)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 129, in goahead
        k = self.parse_starttag(i)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 283, in parse_starttag
        self.finish_starttag(tag, attrs)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 317, in finish_starttag
        self.handle_starttag(tag, method, attrs)
      File "/usr/local/python2.4/lib/python2.4/sgmllib.py", line 357, in handle_starttag
        method(attrs)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 811, in do_option
        _AbstractFormParser._start_option(self, attrs)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/ClientForm.py", line 547, in _start_option
        raise ParseError("OPTION outside of SELECT")
    ParseError: OPTION outside of SELECT
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 74, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[24]>", line 1, in ?
        browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
        raise LookupError(msg)
    LookupError: name 'crit__Type_ATPortalTypeCriterion_value:list'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 76, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 104, in portaltype_criterion.txt
Failed example:
    'Test Document' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False

/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)
  Ran 806 tests with 1 failures and 0 errors in 212.641 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.610 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.015 seconds.

FAILED (failures=1) 




More information about the Testbot mailing list