From d45a7d4c2723d1d771b026d8c4b36b6a7d4d41ed Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 17 Apr 2017 11:26:02 +0200 Subject: Fix Sphinx warnings/errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- functest/core/testcase.py | 4 +++- 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. -- cgit 1.2.3-korg