Revision cfc03c54 test/ganeti.rapi.client_unittest.py
b/test/ganeti.rapi.client_unittest.py | ||
---|---|---|
286 | 286 |
def testReplaceInstanceDisks(self): |
287 | 287 |
self.rapi.AddResponse("999") |
288 | 288 |
job_id = self.client.ReplaceInstanceDisks("instance-name", |
289 |
["hda", "hdc"], dry_run=True) |
|
289 |
["hda", "hdc"], dry_run=True, iallocator="hail")
|
|
290 | 290 |
self.assertEqual(999, job_id) |
291 | 291 |
self.assertHandler(rlib2.R_2_instances_name_replace_disks) |
292 | 292 |
self.assertItems(["instance-name"]) |
Also available in: Unified diff