aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-05-17 08:59:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-17 08:59:11 +0000
commita3dd6167706695a73a72486a1217d32c76071592 (patch)
treeef132e9a0295cf3ad54720b488d0fdd48d8d3223
parent794493f95dc235ada697f9fd7f6d983b48521b4d (diff)
parentee57872eaceb8d29a1312fac13a757a81490610f (diff)
Merge "Fix an unorderable types error (if python 3)"
-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 d8b63ef2..43161525 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: