diff options
Diffstat (limited to 'functest')
-rw-r--r-- | functest/core/testcase.py | 4 | ||||
-rwxr-xr-x | functest/opnfv_tests/sdn/odl/odl.py | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/functest/core/testcase.py b/functest/core/testcase.py index c3fbe1a0..b675a482 100644 --- a/functest/core/testcase.py +++ b/functest/core/testcase.py @@ -71,13 +71,14 @@ class TestCase(object): The subclasses must override the default implementation which is false on purpose. The only prerequisite is to set the following attributes to push the results to DB: + * case_name, * criteria, * start_time, * stop_time. Args: - **kwargs: Arbitrary keyword arguments. + kwargs: Arbitrary keyword arguments. Returns: TestCase.EX_RUN_ERROR. @@ -94,6 +95,7 @@ class TestCase(object): It could be overriden if the common implementation is not suitable. The following attributes must be set before pushing the results to DB: + * project_name, * case_name, * criteria, diff --git a/functest/opnfv_tests/sdn/odl/odl.py b/functest/opnfv_tests/sdn/odl/odl.py index c0e2a9ae..acd004b0 100755 --- a/functest/opnfv_tests/sdn/odl/odl.py +++ b/functest/opnfv_tests/sdn/odl/odl.py @@ -112,6 +112,7 @@ class ODLTests(testcase.TestCase): It has been designed to be called in any context. It requires the following keyword arguments: + * odlusername, * odlpassword, * osauthurl, @@ -130,7 +131,7 @@ class ODLTests(testcase.TestCase): * delete temporary files. Args: - **kwargs: Arbitrary keyword arguments. + kwargs: Arbitrary keyword arguments. Returns: EX_OK if all suites ran well. @@ -197,7 +198,7 @@ class ODLTests(testcase.TestCase): required. Args: - **kwargs: Arbitrary keyword arguments. + kwargs: Arbitrary keyword arguments. Returns: EX_OK if all suites ran well. |