From 318fd1e4e8f4670f5829f72c53151357d47e30a6 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 14 Apr 2017 15:27:42 +0200 Subject: Add class attribute docstrings in testcase.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I91a5c6fb14f7c76a348bb4329d023bab53a3804c Signed-off-by: Cédric Ollivier --- functest/core/testcase.py | 7 +++++++ 1 file changed, 7 insertions(+) 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() -- cgit 1.2.3-korg