Commit e435b79f authored by Jean-Paul Smets's avatar Jean-Paul Smets

Use of getParentValue instead of .aq_parent

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12073 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a465c21
...@@ -241,7 +241,7 @@ class TestPreferences(ERP5TypeTestCase): ...@@ -241,7 +241,7 @@ class TestPreferences(ERP5TypeTestCase):
# standards attributes must not be looked up on Preferences # standards attributes must not be looked up on Preferences
self.assertNotEquals(pref_tool.getTitleOrId(), group.getTitleOrId()) self.assertNotEquals(pref_tool.getTitleOrId(), group.getTitleOrId())
self.assertNotEquals(pref_tool.objectValues(), group.objectValues()) self.assertNotEquals(pref_tool.objectValues(), group.objectValues())
self.assertNotEquals(pref_tool.aq_parent, group.aq_parent) self.assertNotEquals(pref_tool.getParentValue(), group.getParentValue())
try : try :
pref_tool.getPreferredNotExistingPreference() pref_tool.getPreferredNotExistingPreference()
self.fail('Attribute error should be raised for dummy methods') self.fail('Attribute error should be raised for dummy methods')
......
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