We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 841c542 + d7f431b commit 495e7faCopy full SHA for 495e7fa
1 file changed
openstackclient/tests/unit/volume/v1/fakes.py
@@ -23,12 +23,6 @@
23
from openstackclient.tests.unit import utils
24
25
26
-class FakeImagev1Client:
27
-
28
- def __init__(self, **kwargs):
29
- self.images = mock.Mock()
30
31
32
class FakeVolumev1Client:
33
34
def __init__(self, **kwargs):
@@ -72,7 +66,10 @@ def setUp(self):
72
66
token=fakes.AUTH_TOKEN,
73
67
)
74
68
75
- self.app.client_manager.image = FakeImagev1Client(
69
+ # avoid circular imports
70
+ from openstackclient.tests.unit.image.v1 import fakes as image_fakes
71
+
+ self.app.client_manager.image = image_fakes.FakeImagev1Client(
76
endpoint=fakes.AUTH_URL,
77
78
0 commit comments