diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-01 19:40:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-01 19:40:43 +0000 |
| commit | 50a80ab97eb53bb95397e8890b49e990372fb485 (patch) | |
| tree | bd38abb7874e649868275b40bc5d715d32dc3d40 /openstackclient/tests/volume/v1/fakes.py | |
| parent | 700048a1e0ba9aec03192d46303085c8e4d19ea2 (diff) | |
| parent | 4d832e7beb9860419eb00fb6f5a2a454dcd86494 (diff) | |
| download | python-openstackclient-50a80ab97eb53bb95397e8890b49e990372fb485.tar.gz | |
Merge "Add tests for 'list' and 'show' for volume qos v1"
Diffstat (limited to 'openstackclient/tests/volume/v1/fakes.py')
| -rw-r--r-- | openstackclient/tests/volume/v1/fakes.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openstackclient/tests/volume/v1/fakes.py b/openstackclient/tests/volume/v1/fakes.py index 84cfaf31..c6b4f0b8 100644 --- a/openstackclient/tests/volume/v1/fakes.py +++ b/openstackclient/tests/volume/v1/fakes.py @@ -95,6 +95,11 @@ qos_specs = { 'foo': 'bar', 'iops': '9001' } +qos_association = { + 'association_type': 'volume_type', + 'name': type_name, + 'id': type_id +} QOS = { 'id': qos_id, @@ -115,6 +120,14 @@ QOS_WITH_SPECS = { 'specs': qos_specs } +QOS_WITH_ASSOCIATIONS = { + 'id': qos_id, + 'consumer': qos_consumer, + 'name': qos_name, + 'specs': qos_specs, + 'associations': [qos_association] +} + class FakeImagev1Client(object): def __init__(self, **kwargs): |
