diff options
author | 2017-04-14 15:27:42 +0200 | |
---|---|---|
committer | 2017-04-14 15:27:42 +0200 | |
commit | 318fd1e4e8f4670f5829f72c53151357d47e30a6 (patch) | |
tree | a922a0f62790f755aa9d353af943f5f3cbdad9e6 /functest | |
parent | b873714d5096a9d0e39760defbc018fbc84c3e69 (diff) |
Add class attribute docstrings in testcase.py
Change-Id: I91a5c6fb14f7c76a348bb4329d023bab53a3804c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest')
-rw-r--r-- | functest/core/testcase.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/functest/core/testcase.py b/functest/core/testcase.py index 3b43aefb..c3fbe1a0 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() |