Commit f068641a authored by Yusei Tahara's avatar Yusei Tahara Committed by Eteri

ERP5Type/tests/testERP5Type.py: Put expectedFailure mark to...

ERP5Type/tests/testERP5Type.py: Put expectedFailure mark to test_PropertySheetSecurityOnAccessors. Permission definition on Accessor is buggy. It has to be fixed.
parent 36592fad
...@@ -2677,6 +2677,8 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor): ...@@ -2677,6 +2677,8 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
self.assertFalse(guarded_hasattr(obj, 'getRegionValueList')) self.assertFalse(guarded_hasattr(obj, 'getRegionValueList'))
self.assertFalse(guarded_hasattr(obj, 'getRegionRelatedValueList')) self.assertFalse(guarded_hasattr(obj, 'getRegionRelatedValueList'))
# Permission definition on Accessor is buggy. TO BE FIXED!
@expectedFailure
def test_PropertySheetSecurityOnAccessors(self): def test_PropertySheetSecurityOnAccessors(self):
# Test accessors are protected correctly when you specify the permission # Test accessors are protected correctly when you specify the permission
# in the property sheet. # in the property sheet.
......
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