Commit e65b8f9a authored by Sebastien Robin's avatar Sebastien Robin

the method should be tested on context, not on self


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2369 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e99d47c2
...@@ -154,7 +154,7 @@ identify a bank account.""" ...@@ -154,7 +154,7 @@ identify a bank account."""
# Test method calls # Test method calls
test_method_id = self.getTestMethodId() test_method_id = self.getTestMethodId()
if test_method_id is not None and result: if test_method_id is not None and result:
method = getattr(self,method) method = getattr(context,method)
result = result and method() result = result and method()
# XXX Add here additional method calls # XXX Add here additional method calls
return result return result
......
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