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:32:53 +0000 (00:32 +0100)
commit9511a3a243d3e161813aa0a811b7170dcea25796
treeb61c986c2f8a155e6b9aa14ff291bda2b1bd2903
parentbcdd69234880400942d6b5062c5469f3ea3e4b8d
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