summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-04-17 08:49:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-17 08:49:43 +0000
commita3f027e8fe6d0198c5dbcea9e0292bc0e21f54fd (patch)
tree4d3947ccf3d855a85dfa953bb1b70b33de1be799
parentd905d25fca7e76c25c96450a833b23238bae8c01 (diff)
parent318fd1e4e8f4670f5829f72c53151357d47e30a6 (diff)
Merge "Add class attribute docstrings in testcase.py"
-rw-r--r--functest/core/testcase.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/functest/core/testcase.py b/functest/core/testcase.py
index 3b43aefb3..c3fbe1a03 100644
--- a/functest/core/testcase.py
+++ b/functest/core/testcase.py
@@ -21,9 +21,16 @@ class TestCase(object):
"""Parent class of Functest TestCase."""
EX_OK = os.EX_OK
+ """Status code returned when everything is OK"""
+
EX_RUN_ERROR = os.EX_SOFTWARE
+ """Status code returned when run() fails"""
+
EX_PUSH_TO_DB_ERROR = os.EX_SOFTWARE - 1
+ """Status code returned when push_to_db() fails"""
+
EX_TESTCASE_FAILED = os.EX_SOFTWARE - 2
+ """Status code returned when results are false"""
logger = ft_logger.Logger(__name__).getLogger()