We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7903e53 + d324aa6 commit 78d5112Copy full SHA for 78d5112
1 file changed
openstackclient/tests/volume/v2/fakes.py
@@ -256,9 +256,10 @@ def create_one_volume(attrs={}):
256
'key' + uuid.uuid4().hex: 'val' + uuid.uuid4().hex},
257
'snapshot_id': random.randint(1, 5),
258
'availability_zone': 'zone' + uuid.uuid4().hex,
259
- 'attachments': {
+ 'attachments': [{
260
'device': '/dev/' + uuid.uuid4().hex,
261
- 'server_id': uuid.uuid4().hex},
+ 'server_id': uuid.uuid4().hex,
262
+ }, ],
263
}
264
265
# Overwrite default attributes if there are some attributes set
0 commit comments