diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-17 11:26:02 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-18 12:01:33 +0200 |
commit | d45a7d4c2723d1d771b026d8c4b36b6a7d4d41ed (patch) | |
tree | b7cc8bc1f74e68a2f3b867db7250e18eed6cd4a3 | |
parent | bebaf6e856aced93dd5b0498fedd160bf7bf8947 (diff) |
Fix Sphinx warnings/errors
It takes into account the following warnings/errors:
- Inline strong start-string without end-string
- Unexpected indentation
Change-Id: Idb05c7b04ba98ef8f3ef65e6ec7c9bb5b7571cad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-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 c3fbe1a03..b675a482f 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 c0e2a9aeb..acd004b05 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. |