From: Cédric Ollivier Date: Mon, 17 Apr 2017 09:26:02 +0000 (+0200) Subject: Fix Sphinx warnings/errors X-Git-Tag: opnfv-5.0.RC1~469 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d45a7d4c2723d1d771b026d8c4b36b6a7d4d41ed;p=functest.git 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 --- 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.