summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/core/testcase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/core/testcase.py b/functest/core/testcase.py
index d8b63ef29..431615250 100644
--- a/functest/core/testcase.py
+++ b/functest/core/testcase.py
@@ -94,6 +94,7 @@ class TestCase(object):
"""
try:
assert self.criteria
+ assert self.result is not None
if (not isinstance(self.result, str) and
not isinstance(self.criteria, str)):
if self.result >= self.criteria: