From b1b15c970e0be65b04a94ed9ac2afcbc63a7f901 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 21 Apr 2017 11:55:36 +0200 Subject: Switch testcase to test case in docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iea64673788a3d5ab5eb3028522f659de183440ed Signed-off-by: Cédric Ollivier --- functest/core/feature.py | 2 +- functest/core/testcase.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functest/core/feature.py b/functest/core/feature.py index d8ddbdeb..5f8a0873 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 c306b143..309842e3 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. -- cgit 1.2.3-korg