aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-04-21 11:55:36 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-04-21 11:55:36 +0200
commitb1b15c970e0be65b04a94ed9ac2afcbc63a7f901 (patch)
tree5d1d4df0a8110ed066f2ea780a5decea4d48fea2
parent96481540320550457181696c43a0e2fa34b9273d (diff)
Switch testcase to test case in docstrings
Change-Id: Iea64673788a3d5ab5eb3028522f659de183440ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/core/feature.py2
-rw-r--r--functest/core/testcase.py8
2 files changed, 5 insertions, 5 deletions
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 <feng.xiaowei@zte.com.cn>, "
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 <cedric.ollivier@orange.com>"
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.