[Libvirt-cim] [PATCH] [TEST] Update tests to reflect computersystem.py changes

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Sep 3 00:48:43 UTC 2008


>> diff -r 946fd46b9686 -r 1269f456c0fe 
>> suites/libvirt-cim/cimtest/HostedDependency/02_reverse.py
>> --- a/suites/libvirt-cim/cimtest/HostedDependency/02_reverse.py    Thu 
>> Aug 28 14:07:25 2008 -0700
>> +++ b/suites/libvirt-cim/cimtest/HostedDependency/02_reverse.py    Sun 
>> Aug 31 21:50:53 2008 -0700
>> @@ -44,7 +44,6 @@
>>  from VirtLib import utils
>>  from XenKvmLib import vxml
>>  from XenKvmLib import enumclass
>> -from XenKvmLib import computersystem  from XenKvmLib import assoc
>>  from XenKvmLib.classes import get_class_basename
>>  from CimTest.Globals import logger, do_main
>> @@ -79,8 +78,9 @@
>>          else:
>>          # Instance of the HostSystem
>>              host_sys = host_sys[0]
>> -
>> -        cs = computersystem.enumerate(options.ip, options.virt)
>> +        +        keys = ['Name', 'CreationClassName']
>> +        cs = enumclass.enumerate(options.ip, 'ComputerSystem', keys, 
>> options.virt)
>>          if options.virt == 'Xen' or options.virt == 'XenFV':
>>              # Xen honors additional domain-0
>>              cs_list_len = 2
>>   
> --------------------------------------------------------------------
> HostedDependency - 02_reverse.py: FAIL
> ERROR - ERROR: Failed to Create the dom: hd_domain
> --------------------------------------------------------------------

This error is because the test was unable to create a guest - not 
related to these changes.  Do you see this error without this patch applied?


-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list