aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()