Copy tests WIP, fix bug in assert module upgrades where the wrong value was being checked.

This commit is contained in:
root 2014-02-19 14:36:54 -05:00
parent 0d64159d03
commit 0df166e7c0
5 changed files with 48 additions and 4 deletions

View file

@ -50,7 +50,7 @@ class ActionModule(object):
args['that'] = [ args['that'] ]
for that in args['that']:
result = utils.check_conditional(args['that'], self.runner.basedir, inject, fail_on_undefined=True)
result = utils.check_conditional(that, self.runner.basedir, inject, fail_on_undefined=True)
if not result:
return ReturnData(conn=conn, result=dict(failed=True, assertion=that, evaluated_to=result))