summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-04-01 21:08:43 +0000
committerGerrit Code Review <review@openstack.org>2017-04-01 21:08:43 +0000
commit67a4b812c6cdf9ebf91bee69a5ab80962c60da49 (patch)
treea4c3b72dfe3bc3cf0378e60a1d8faa1cceb71495 /openstackclient
parente059adeab7a84c1ab17c31a05b5e0d2d384c628f (diff)
parent70170656fd4d3c8020391354b13dca63e9e024d1 (diff)
downloadpython-openstackclient-67a4b812c6cdf9ebf91bee69a5ab80962c60da49.tar.gz
Merge "doc: Correct Sphinx warnings"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/compute/client.py1
-rw-r--r--openstackclient/tests/unit/identity/v3/fakes.py4
-rw-r--r--openstackclient/tests/unit/image/v2/fakes.py6
3 files changed, 6 insertions, 5 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index c5b364b2..b4b463b4 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -96,6 +96,7 @@ def check_api_version(check_version):
"""Validate version supplied by user
Returns:
+
* True if version is OK
* False if the version has not been checked and the previous plugin
check should be performed
diff --git a/openstackclient/tests/unit/identity/v3/fakes.py b/openstackclient/tests/unit/identity/v3/fakes.py
index 139d90d5..291f977d 100644
--- a/openstackclient/tests/unit/identity/v3/fakes.py
+++ b/openstackclient/tests/unit/identity/v3/fakes.py
@@ -729,7 +729,7 @@ class FakeCredential(object):
A list of FakeResource objects faking credentials
:param Integer count:
The number of credentials to be faked
- :return
+ :return:
An iterable Mock object with side_effect set to a list of faked
credentials
"""
@@ -867,7 +867,7 @@ class FakeGroup(object):
A list of FakeResource objects faking groups
:param Integer count:
The number of groups to be faked
- :return
+ :return:
An iterable Mock object with side_effect set to a list of faked
groups
"""
diff --git a/openstackclient/tests/unit/image/v2/fakes.py b/openstackclient/tests/unit/image/v2/fakes.py
index 8e2f587d..7f3f02df 100644
--- a/openstackclient/tests/unit/image/v2/fakes.py
+++ b/openstackclient/tests/unit/image/v2/fakes.py
@@ -238,7 +238,7 @@ class FakeImage(object):
A list of FakeResource objects faking images
:param Integer count:
The number of images to be faked
- :return
+ :return:
An iterable Mock object with side_effect set to a list of faked
images
"""
@@ -253,7 +253,7 @@ class FakeImage(object):
:param image:
A FakeResource objects faking image
- :return
+ :return:
A tuple which may include the following keys:
('id', 'name', 'owner', 'protected', 'visibility', 'tags')
"""
@@ -267,7 +267,7 @@ class FakeImage(object):
:param image:
A FakeResource objects faking image
- :return
+ :return:
A tuple which may include the following values:
('image-123', 'image-foo', 'admin', False, 'public', 'bar, baz')
"""