Fix Sphinx warnings/errors
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 17 Apr 2017 09:26:02 +0000 (11:26 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 18 Apr 2017 10:01:33 +0000 (12:01 +0200)
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>
functest/core/testcase.py
functest/opnfv_tests/sdn/odl/odl.py

index c3fbe1a..b675a48 100644 (file)
@@ -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,
index c0e2a9a..acd004b 100755 (executable)
@@ -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.