Check for ranges in notebook results verification

This commit is contained in:
Sebastián Marró 2019-01-02 22:40:12 -03:00
parent a63570c243
commit 78310ac8fa

View file

@ -4222,9 +4222,9 @@ class NotebookResultsVerification(Wizard):
else:
return 'out'
else:
if result < range_.min:
if (range_.min and result < range_.min):
return 'out'
elif result <= range_.max:
elif (range_.max and result <= range_.max):
return 'ok'
else:
return 'out'