Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c883810
)
Fix an unorderable types error (if python 3)
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Wed, 17 May 2017 05:34:02 +0000
(07:34 +0200)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Wed, 17 May 2017 05:34:02 +0000
(07:34 +0200)
Change-Id: I07c5a548f10a1779faead4d9c596a1976aff8866
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/core/testcase.py
patch
|
blob
|
history
diff --git
a/functest/core/testcase.py
b/functest/core/testcase.py
index
d8b63ef
..
4316152
100644
(file)
--- 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: