summaryrefslogtreecommitdiff
path: root/saharaclient/tests
diff options
context:
space:
mode:
authorTelles Nobrega <tenobreg@redhat.com>2017-08-14 16:14:01 -0300
committerTelles Nobrega <tenobreg@redhat.com>2017-08-14 16:15:29 -0300
commit4ac9f74fae84db8cc33206ab56a43a2538880c7f (patch)
tree04c5240669d02821bf22789b7bd1d22c9202c3be /saharaclient/tests
parent1871dbabbca733d9bac1914f924c7fd45550cf6c (diff)
downloadpython-saharaclient-4ac9f74fae84db8cc33206ab56a43a2538880c7f.tar.gz
Adding volume_mount_prefix parameter
Adding this parameter to create and update on the CLI Change-Id: I792b4e7f0182e042086555f612d188d6dea03cf1 Closes-bug: #1630563
Diffstat (limited to 'saharaclient/tests')
-rw-r--r--saharaclient/tests/unit/osc/v1/test_node_group_templates.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/saharaclient/tests/unit/osc/v1/test_node_group_templates.py b/saharaclient/tests/unit/osc/v1/test_node_group_templates.py
index 0832163..b23a4e4 100644
--- a/saharaclient/tests/unit/osc/v1/test_node_group_templates.py
+++ b/saharaclient/tests/unit/osc/v1/test_node_group_templates.py
@@ -98,7 +98,7 @@ class TestCreateNodeGroupTemplate(TestNodeGroupTemplates):
volume_local_to_instance=False,
volume_type=None, volumes_availability_zone=None,
volumes_per_node=None, volumes_size=None, shares=None,
- node_configs=None)
+ node_configs=None, volume_mount_prefix=None)
def test_ngt_create_all_options(self):
arglist = ['--name', 'template', '--plugin', 'fake',
@@ -144,7 +144,8 @@ class TestCreateNodeGroupTemplate(TestNodeGroupTemplates):
plugin_name='fake', security_groups=['secgr'], use_autoconfig=True,
volume_local_to_instance=True, volume_type='type',
volumes_availability_zone='vavzone', volumes_per_node=2,
- volumes_size=2, shares=None, node_configs=None)
+ volumes_size=2, shares=None, node_configs=None,
+ volume_mount_prefix='/volume/asd')
# Check that columns are correct
expected_columns = (
@@ -370,7 +371,7 @@ class TestUpdateNodeGroupTemplate(TestNodeGroupTemplates):
plugin_name='fake', security_groups=['secgr'], use_autoconfig=True,
volume_local_to_instance=True, volume_type='type',
volumes_availability_zone='vavzone', volumes_per_node=2,
- volumes_size=2)
+ volumes_size=2, volume_mount_prefix='/volume/asd')
# Check that columns are correct
expected_columns = (