[FIX] Assertion expressions list is a direct child of !assert block.

bzr revid: jth@openerp.com-20100401132603-2ar1hsmi62c0vs3p
This commit is contained in:
Julien Thewys 2010-04-01 15:26:03 +02:00
parent 3ebd4313d9
commit 8d62e97ff5
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class YamlInterpreter(object):
context = self.get_context(assertion, self.eval_context)
for id in ids:
record = model.browse(self.cr, self.uid, id, context)
for test in expressions.get('test', ''):
for test in expressions:
try:
success = eval(test, self.eval_context, RecordDictWrapper(record))
except Exception, e: