Improve tests for attaching disks
authorLisa Velden <velden@google.com>
Wed, 25 Nov 2015 13:53:39 +0000 (14:53 +0100)
committerLisa Velden <velden@google.com>
Thu, 26 Nov 2015 23:40:51 +0000 (00:40 +0100)
commit7e29383fad16d6087b5b89487f86950559b81f6a
tree4fe16ed9001ca3f5cb03776a4e476fb0d2a68b09
parentb03cd9d204eae7b8416aa058890f602b51ed355c
Improve tests for attaching disks

by associating disks and instances to a specific node.
Also refactor mock uuids and mock disk names into variables.

Signed-off-by: Lisa Velden <velden@google.com>
Reviewed-by: Oleg Ponomarev <oponomarev@google.com>
test/py/cmdlib/instance_unittest.py