diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-10-20 14:11:33 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-10-21 10:39:06 +0800 |
| commit | 292608dc08b7cbc792f83ae55862e482f5324a97 (patch) | |
| tree | 43b699379ecf0f7ffe80d39608f57509f9bc3830 /openstackclient/tests/unit/volume/v1/fakes.py | |
| parent | fee1a31296cb47de105d0fa70a509570151f9d81 (diff) | |
| download | python-openstackclient-292608dc08b7cbc792f83ae55862e482f5324a97.tar.gz | |
Use FakeImage class to replace duplicated image info in volume test
FakeImage class has been added in image v1 so that
we can reuse it in volume v1 unit test to replace
the duplicated image info in volume v1 fake.
Change-Id: I0f96e568bd65e59241b57704fc2a379319a386d8
Diffstat (limited to 'openstackclient/tests/unit/volume/v1/fakes.py')
| -rw-r--r-- | openstackclient/tests/unit/volume/v1/fakes.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/openstackclient/tests/unit/volume/v1/fakes.py b/openstackclient/tests/unit/volume/v1/fakes.py index a11ea491..434e637a 100644 --- a/openstackclient/tests/unit/volume/v1/fakes.py +++ b/openstackclient/tests/unit/volume/v1/fakes.py @@ -69,19 +69,6 @@ EXTENSION = { 'links': extension_links, } -# NOTE(dtroyer): duplicating here the minimum image info needed to test -# volume create --image until circular references can be -# avoided by refactoring the test fakes. - -image_id = 'im1' -image_name = 'graven' - - -IMAGE = { - 'id': image_id, - 'name': image_name, -} - type_id = "5520dc9e-6f9b-4378-a719-729911c0f407" type_name = "fake-lvmdriver-1" |
