[Testbot] FAILED (failures=2) : Plone-3.1 Zope-2.11 Python-2.4.4

CMFPlone Tests plone-tests at epy.co.at
Thu Oct 2 03:45:57 UTC 2008


CMFPlone Tests : FAILED (failures=2)
Plone-3.1 Zope-2.11 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q -1 --config-file etc/zope.conf --package Products.CMFPlone
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21-plone31/etc/zope.conf
Running unit tests:
  Ran 40 tests with 0 failures and 0 errors in 0.120 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.716 seconds.
  Ran 138 tests with 0 failures and 0 errors in 1.855 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
 in 10.147 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.052 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
 in 11.841 seconds.
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/PlonePAS/tools/groupdata.py:249: DeprecationWarning: portal_groups.getGroupMembers is deprecated and will be removed in Plone 4.0. Use PAS to get a group and check its members instead.
  for u_name in gtool.getGroupMembers(self.getId()):
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/MembershipTool.py:211: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/migrations/migration_util.py:90: DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
  portal.setupCurrentSkin()


Failure in test testNormalizeStringRelaxedKeepsOtherSymbols (Products.CMFPlone.tests.testPloneTool.TestPloneTool)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/tests/testPloneTool.py", line 158, in testNormalizeStringRelaxedKeepsOtherSymbols
    'A -String-.foo-xx')
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'A -String-.foo_#xx' != 'A -String-.foo-xx'



Failure in test testNormalizeStringRelaxedStripsDangerousChars (Products.CMFPlone.tests.testPloneTool.TestPloneTool)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/tests/testPloneTool.py", line 153, in testNormalizeStringRelaxedStripsDangerousChars
    'A -String-foo.x-x')
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'A -String-foo.x-#x' != 'A -String-foo.x-x'

/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 4.0. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 4.0. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
  Ran 1512 tests with 2 failures and 0 errors in 8 minutes 32.079 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 1.183 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.018 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1702 tests, 2 failures, 0 errors in 9 minutes 2.009 seconds.

FAILED (failures=2)




More information about the Testbot mailing list