summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/volume
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/unit/volume')
-rw-r--r--openstackclient/tests/unit/volume/v1/test_volume.py4
-rw-r--r--openstackclient/tests/unit/volume/v2/test_volume.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/tests/unit/volume/v1/test_volume.py b/openstackclient/tests/unit/volume/v1/test_volume.py
index 702f79ed..584eca2a 100644
--- a/openstackclient/tests/unit/volume/v1/test_volume.py
+++ b/openstackclient/tests/unit/volume/v1/test_volume.py
@@ -317,7 +317,7 @@ class TestVolumeCreate(TestVolume):
self.assertCountEqual(self.datalist, data)
def test_volume_create_image_id(self):
- image = image_fakes.FakeImage.create_one_image()
+ image = image_fakes.create_one_image()
self.images_mock.get.return_value = image
arglist = [
@@ -360,7 +360,7 @@ class TestVolumeCreate(TestVolume):
self.assertCountEqual(self.datalist, data)
def test_volume_create_image_name(self):
- image = image_fakes.FakeImage.create_one_image()
+ image = image_fakes.create_one_image()
self.images_mock.get.return_value = image
arglist = [
diff --git a/openstackclient/tests/unit/volume/v2/test_volume.py b/openstackclient/tests/unit/volume/v2/test_volume.py
index 4aa6f906..ec82e674 100644
--- a/openstackclient/tests/unit/volume/v2/test_volume.py
+++ b/openstackclient/tests/unit/volume/v2/test_volume.py
@@ -221,7 +221,7 @@ class TestVolumeCreate(TestVolume):
self.assertCountEqual(self.datalist, data)
def test_volume_create_image_id(self):
- image = image_fakes.FakeImage.create_one_image()
+ image = image_fakes.create_one_image()
self.find_image_mock.return_value = image
arglist = [
@@ -259,7 +259,7 @@ class TestVolumeCreate(TestVolume):
self.assertCountEqual(self.datalist, data)
def test_volume_create_image_name(self):
- image = image_fakes.FakeImage.create_one_image()
+ image = image_fakes.create_one_image()
self.find_image_mock.return_value = image
arglist = [