diff options
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): |
