summaryrefslogtreecommitdiff
path: root/saharaclient/tests/unit/osc/v1/test_cluster_templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'saharaclient/tests/unit/osc/v1/test_cluster_templates.py')
-rw-r--r--saharaclient/tests/unit/osc/v1/test_cluster_templates.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/saharaclient/tests/unit/osc/v1/test_cluster_templates.py b/saharaclient/tests/unit/osc/v1/test_cluster_templates.py
index 78e67a3..bfa2605 100644
--- a/saharaclient/tests/unit/osc/v1/test_cluster_templates.py
+++ b/saharaclient/tests/unit/osc/v1/test_cluster_templates.py
@@ -53,6 +53,7 @@ class TestClusterTemplates(fakes.TestDataProcessing):
self.app.client_manager.data_processing.node_group_templates)
self.ct_mock.reset_mock()
self.ngt_mock.reset_mock()
+ self.app.api_version['data_processing'] = '1'
class TestCreateClusterTemplate(TestClusterTemplates):
@@ -63,6 +64,7 @@ class TestCreateClusterTemplate(TestClusterTemplates):
None, CT_INFO)
self.ngt_mock.find_unique.return_value = api_ngt.NodeGroupTemplate(
None, CT_INFO['node_groups'][0])
+ self.app.api_version['data_processing'] = '1.1'
# Command to test
self.cmd = osc_ct.CreateClusterTemplate(self.app, None)