Commit af6ec08a authored by Sebastien Robin's avatar Sebastien Robin

corrected problem with the method_id in test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f2b483a
...@@ -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(context,method) method = getattr(context,test_method_id)
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