Unit tests for hv_xen._GetCommand
authorHelga Velroyen <helgav@google.com>
Fri, 24 May 2013 11:03:13 +0000 (13:03 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 12 Jun 2013 07:17:00 +0000 (09:17 +0200)
commit3eb073a65b1e0c8f9bae2303fa4ab4e73765f7f0
tree8c8889f39448d8a5f6cde92c9a66f292d3d029ed
parent740394bca3cd80223b05a1a6294f3a4d8a0fbc86
Unit tests for hv_xen._GetCommand

This patch adds unit tests for the current state of the
'GetCommand' method. The tests are rather trivial, but
having tests before starting to refactor seems to be
a good idea.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
test/py/ganeti.hypervisor.hv_xen_unittest.py