Merge pull request #1231 from mwhudson/fix-api-test
make test_v2_multi_disk_multi_boot api test more correct
This commit is contained in:
commit
3256172f0a
|
@ -457,6 +457,8 @@ class TestAdd(TestAPI):
|
|||
resp = await inst.get('/storage/v2')
|
||||
vda = first(resp['disks'], 'id', 'disk-vda')
|
||||
vdb = first(resp['disks'], 'id', 'disk-vdb')
|
||||
await inst.post('/storage/v2/reformat_disk', disk_id=vda['id'])
|
||||
await inst.post('/storage/v2/reformat_disk', disk_id=vdb['id'])
|
||||
await inst.post('/storage/v2/add_boot_partition',
|
||||
disk_id=vda['id'])
|
||||
await inst.post('/storage/v2/add_boot_partition',
|
||||
|
|
Loading…
Reference in New Issue