summaryrefslogtreecommitdiff
path: root/heat/tests/openstack/cinder/test_volume_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat/tests/openstack/cinder/test_volume_utils.py')
-rw-r--r--heat/tests/openstack/cinder/test_volume_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/tests/openstack/cinder/test_volume_utils.py b/heat/tests/openstack/cinder/test_volume_utils.py
index 549d98058..07bf1fc58 100644
--- a/heat/tests/openstack/cinder/test_volume_utils.py
+++ b/heat/tests/openstack/cinder/test_volume_utils.py
@@ -13,7 +13,7 @@
from unittest import mock
-from cinderclient.v2 import client as cinderclient
+from cinderclient.v3 import client as cinderclient
from heat.engine.clients.os import cinder
from heat.engine.clients.os import nova
@@ -31,7 +31,7 @@ class VolumeTestCase(common.HeatTestCase):
super(VolumeTestCase, self).setUp()
self.fc = fakes_nova.FakeClient()
self.cinder_fc = cinderclient.Client('username', 'password')
- self.cinder_fc.volume_api_version = 2
+ self.cinder_fc.volume_api_version = 3
self.patchobject(cinder.CinderClientPlugin, '_create',
return_value=self.cinder_fc)
self.patchobject(nova.NovaClientPlugin, 'client',