Revision 74a50c46
ID | 74a50c4689c8f1f160f5f0a6fb6b4275ed922996 |
Parent | 64a66bd2 |
Child | 7610d884 |
Establish base for testing Xen hypervisor abstraction
There are two separate Xen hypervisors (HVM and PVM), as well as two
different Xen commands (xl and xm). This already provides four different
combinations and future changes might bring even more. For this reason
the test classes for the Xen hypervisor are not defined manually, but
rather generated at module load time. Doing so makes it possible to keep
using the standard unit test infrastructure provided by the “unittest”
module.
Using “super”, which we try to avoid in other places, is necessary to
call functions provided by other classes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Files
- added
- modified
- copied
- renamed
- deleted