[Zope-tests] FAILED (failures=1) : Zope-trunk Python-2.4.6 : Linux
Zope Tests
zope-tests at epy.co.at
Mon Apr 13 21:00:09 EDT 2009
Zope Tests : FAILED (failures=1)
Zope-trunk Python-2.4.6 : Linux
Running /usr/local/python2.4/bin/python ./bin/test --all
/home/stefan/autotest/temp/python24-zope212/src/Products/Five/security.py:42: DeprecationWarning: ApplicationDefaultPermissions is deprecated. import from AccessControl.Permission instead
from Globals import ApplicationDefaultPermissions
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.490 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.148 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.001 seconds.
Set up OFS.tests.testCopySupportHooks.HookLayer in 0.690 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.141 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportHooks.HookLayer in 0.001 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.001 seconds.
/home/stefan/autotest/temp/python24-zope212/eggs/zope.configuration-3.5.0-py2.4.egg/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in <string>
warnings.warn(
Failure in test test_register_permission (Products.Five.tests.test_security)
Failed doctest test for Products.Five.tests.test_security.test_register_permission
File "/home/stefan/autotest/temp/python24-zope212/src/Products/Five/tests/test_security.py", line 377, in test_register_permission
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/src/Products/Five/tests/test_security.py", line 410, in Products.Five.tests.test_security.test_register_permission
Failed example:
pprint(self.app.rolesOfPermission('Five: Dummy permission'))
Expected:
[{'name': 'Anonymous', 'selected': ''},
{'name': 'Authenticated', 'selected': ''},
{'name': 'Manager', 'selected': 'SELECTED'},
{'name': 'Owner', 'selected': ''}]
Got:
[{'selected': '', 'name': 'Anonymous'},
{'selected': '', 'name': 'Authenticated'},
{'selected': 'SELECTED', 'name': 'Manager'},
{'selected': '', 'name': 'Owner'}]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/src/Products/Five/tests/test_security.py", line 438, in Products.Five.tests.test_security.test_register_permission
Failed example:
pprint(self.app.rolesOfPermission('Five: Other dummy'))
Expected:
[{'name': 'Anonymous', 'selected': 'SELECTED'},
{'name': 'Authenticated', 'selected': ''},
{'name': 'Manager', 'selected': ''},
{'name': 'Owner', 'selected': ''}]
Got:
[{'selected': 'SELECTED', 'name': 'Anonymous'},
{'selected': '', 'name': 'Authenticated'},
{'selected': '', 'name': 'Manager'},
{'selected': '', 'name': 'Owner'}]
/home/stefan/autotest/temp/python24-zope212/eggs/zope.configuration-3.5.0-py2.4.egg/zope/configuration/config.py:689: UserWarning: The set_schema option of the <require /> directive is not supported in Zope 2. Ignored for Products.Five.tests.test_security.Dummy3
actions = self.handler(context, **args)
/home/stefan/autotest/temp/python24-zope212/eggs/zope.configuration-3.5.0-py2.4.egg/zope/configuration/config.py:689: UserWarning: The set_attribute option of the <require /> directive is not supported in Zope 2. Ignored for Products.Five.tests.test_security.Dummy4
actions = self.handler(context, **args)
Ran 641 tests with 1 failures and 0 errors in 31.510 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.328 seconds.
Ran 16 tests with 0 failures and 0 errors in 0.580 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.002 seconds.
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.102 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Ran 1727 tests with 0 failures and 0 errors in 1 minutes 37.745 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 2432 tests, 1 failures, 0 errors in 2 minutes 15.594 seconds.
FAILED (failures=1)
More information about the Zope-tests
mailing list