aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-05 17:13:53 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-05 17:23:35 +0100
commit811e6a0eacfe856745dcee55545cd8cb2a39e816 (patch)
tree2ab04bd35f132fb59356a882d68f47a38ab30ede
parent7b8e07e9100974a506c7dd31c8bf190ecf69840c (diff)
Fix docstrings
Else sphinx can't parse snaps_suite_builder.py and IxRestUtils.py. Change-Id: Iab231a043120154bce708263474b9f9926c1f715 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py3
-rw-r--r--functest/opnfv_tests/vnf/ims/ixia/utils/IxRestUtils.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py b/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
index ab7b368fd..ed3b2825e 100644
--- a/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
+++ b/functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
@@ -84,6 +84,7 @@ def add_openstack_client_tests(suite, os_creds, ext_net_name,
use_keystone=True, log_level=logging.INFO):
"""
Adds tests written to exercise OpenStack client retrieval
+
:param suite: the unittest.TestSuite object to which to add the tests
:param os_creds: and instance of OSCreds that holds the credentials
required by OpenStack
@@ -130,6 +131,7 @@ def add_openstack_api_tests(suite, os_creds, ext_net_name, use_keystone=True,
# pylint: disable=too-many-arguments
"""
Adds tests written to exercise all existing OpenStack APIs
+
:param suite: the unittest.TestSuite object to which to add the tests
:param os_creds: Instance of OSCreds that holds the credentials
required by OpenStack
@@ -246,6 +248,7 @@ def add_openstack_integration_tests(suite, os_creds, ext_net_name,
Adds tests written to exercise all long-running OpenStack integration tests
meaning they will be creating VM instances and potentially performing some
SSH functions through floatingIPs
+
:param suite: the unittest.TestSuite object to which to add the tests
:param os_creds: and instance of OSCreds that holds the credentials
required by OpenStack
diff --git a/functest/opnfv_tests/vnf/ims/ixia/utils/IxRestUtils.py b/functest/opnfv_tests/vnf/ims/ixia/utils/IxRestUtils.py
index 63db403b3..41c23dc53 100644
--- a/functest/opnfv_tests/vnf/ims/ixia/utils/IxRestUtils.py
+++ b/functest/opnfv_tests/vnf/ims/ixia/utils/IxRestUtils.py
@@ -76,6 +76,7 @@ class Connection(object):
Use this instead of urlparse.urljoin directly so that we can customize
its behavior if necessary.
Currently differs in that it
+
1. appends a / to base if not present.
2. casts end to a str as a convenience
"""
@@ -186,7 +187,7 @@ class WebObject(object):
def getOptions(self):
'''
- Get the JSON dictionary which represents the WebObject Instance
+ Get the JSON dictionary which represents the WebObject Instance
'''
return self.jsonOptions