Commit fa8d121d authored by Julien Muchembled's avatar Julien Muchembled

Filter expressions shall use 'context' to refer to the object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39156 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81fda352
...@@ -2830,7 +2830,7 @@ class TestPropertySheet: ...@@ -2830,7 +2830,7 @@ class TestPropertySheet:
class TestAccessControl(ERP5TypeTestCase): class TestAccessControl(ERP5TypeTestCase):
# Isolate test in a dedicaced class in order not to break other tests # Isolate test in a dedicaced class in order not to break other tests
# when this one fails. # when this one fails.
expression = 'python: here.getPortalType() or 1' expression = 'python: context.getPortalType() or 1'
def getTitle(self): def getTitle(self):
return "ERP5Type" return "ERP5Type"
......
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