summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/compute/v2/test_aggregate.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-11-17 10:35:51 +0000
committerStephen Finucane <sfinucan@redhat.com>2021-11-17 11:34:42 +0000
commit2135a9ea05c79a11185ca87f6bb5ade3b71501bb (patch)
tree8d9dd5543f988ab13a6b3db04229457f5f295606 /openstackclient/tests/unit/compute/v2/test_aggregate.py
parent690e9a13a232f522162adc109d32c8eee864814e (diff)
downloadpython-openstackclient-2135a9ea05c79a11185ca87f6bb5ade3b71501bb.tar.gz
image: Remove FakeImage test helper
We're no longer creating fake versions of glanceclient's 'Resource' object but rather openstacksdk objects. As such, there's no point nesting things under a fake resource class. Change-Id: I39cd5302622f4542db9eebcccfad0cb90d077441 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/unit/compute/v2/test_aggregate.py')
-rw-r--r--openstackclient/tests/unit/compute/v2/test_aggregate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/unit/compute/v2/test_aggregate.py b/openstackclient/tests/unit/compute/v2/test_aggregate.py
index 7c4fe5cb..071f2a30 100644
--- a/openstackclient/tests/unit/compute/v2/test_aggregate.py
+++ b/openstackclient/tests/unit/compute/v2/test_aggregate.py
@@ -552,7 +552,7 @@ class TestAggregateUnset(TestAggregate):
class TestAggregateCacheImage(TestAggregate):
- images = image_fakes.FakeImage.create_images(count=2)
+ images = image_fakes.create_images(count=2)
def setUp(self):
super(TestAggregateCacheImage, self).setUp()