Commit cd2f5333 authored by Aurel's avatar Aurel

do not test security in edit in zope2.7 as it depends on accessor

security with is disabled for these zope version


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21499 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0126dc3d
......@@ -2303,7 +2303,10 @@ class TestPropertySheet:
self.assertFalse(guarded_hasattr(obj, 'getFooBar'))
def test_edit(self):
# not working in 2.7 as accessor not patched
try:
from ZODB.Transaction import Transaction
except ImportError:
self._addProperty('Person',
''' { 'id': 'foo_bar',
'write_permission' : 'Set own password',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment