diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-04-17 08:49:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-17 08:49:43 +0000 |
commit | a3f027e8fe6d0198c5dbcea9e0292bc0e21f54fd (patch) | |
tree | 4d3947ccf3d855a85dfa953bb1b70b33de1be799 /functest | |
parent | d905d25fca7e76c25c96450a833b23238bae8c01 (diff) | |
parent | 318fd1e4e8f4670f5829f72c53151357d47e30a6 (diff) |
Merge "Add class attribute docstrings in testcase.py"
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() |