From: Cédric Ollivier Date: Fri, 21 Apr 2017 09:55:36 +0000 (+0200) Subject: Switch testcase to test case in docstrings X-Git-Tag: opnfv-5.0.RC1~459 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F33625%2F1;p=functest.git Switch testcase to test case in docstrings Change-Id: Iea64673788a3d5ab5eb3028522f659de183440ed Signed-off-by: Cédric Ollivier --- diff --git a/functest/core/feature.py b/functest/core/feature.py index d8ddbdebc..5f8a0873f 100644 --- a/functest/core/feature.py +++ b/functest/core/feature.py @@ -25,7 +25,7 @@ __author__ = ("Serena Feng , " class Feature(base.TestCase): - """Base model for single Functest feature.""" + """Base model for single feature.""" def __init__(self, **kwargs): super(Feature, self).__init__(**kwargs) diff --git a/functest/core/testcase.py b/functest/core/testcase.py index c306b1435..309842e3b 100644 --- a/functest/core/testcase.py +++ b/functest/core/testcase.py @@ -18,7 +18,7 @@ __author__ = "Cedric Ollivier " class TestCase(object): - """Base model for single Functest testcase.""" + """Base model for single test case.""" EX_OK = os.EX_OK """everything is OK""" @@ -43,7 +43,7 @@ class TestCase(object): self.stop_time = "" def check_criteria(self): - """Interpret the results of the testcase. + """Interpret the results of the test case. It allows getting the results of TestCase. It completes run() which only returns the execution status. @@ -63,7 +63,7 @@ class TestCase(object): return TestCase.EX_TESTCASE_FAILED def run(self, **kwargs): - """Run the testcase. + """Run the test case. It allows running TestCase and getting its execution status. @@ -89,7 +89,7 @@ class TestCase(object): return TestCase.EX_RUN_ERROR def push_to_db(self): - """Push the results of the testcase to the DB. + """Push the results of the test case to the DB. It allows publishing the results and to check the status.