summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-30 10:39:16 +0000
committerGerrit Code Review <review@openstack.org>2015-11-30 10:39:16 +0000
commit12cc6347e58d41a42fc20d19c9f984aec55f655b (patch)
tree2457ff0534f4999aee8399857c622b79d3a422e7 /openstackclient/tests
parentb920245f10b28544649aa122bb5dc450c71a76d1 (diff)
parentd1a58653ab8c3a98f2315ebbffd5e86be0beb966 (diff)
downloadpython-openstackclient-12cc6347e58d41a42fc20d19c9f984aec55f655b.tar.gz
Merge "Use is_public to set access of volume type"
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/volume/v2/test_type.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/tests/volume/v2/test_type.py b/openstackclient/tests/volume/v2/test_type.py
index 9a07263b..c63cd1fa 100644
--- a/openstackclient/tests/volume/v2/test_type.py
+++ b/openstackclient/tests/volume/v2/test_type.py
@@ -73,7 +73,7 @@ class TestTypeCreate(TestType):
self.types_mock.create.assert_called_with(
volume_fakes.type_name,
description=volume_fakes.type_description,
- public=True,
+ is_public=True,
)
collist = (
@@ -93,7 +93,7 @@ class TestTypeCreate(TestType):
arglist = [
volume_fakes.type_name,
"--description", volume_fakes.type_description,
- "--private"
+ "--private",
]
verifylist = [
("name", volume_fakes.type_name),
@@ -107,7 +107,7 @@ class TestTypeCreate(TestType):
self.types_mock.create.assert_called_with(
volume_fakes.type_name,
description=volume_fakes.type_description,
- private=True,
+ is_public=False,
)
collist = (