[Libvirt-cim] [PATCH] [TEST] Fix ResourcePoolConfigurationService.01&02 to work with sblim base provider installed and without
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Sep 24 23:54:17 UTC 2008
Deepti B Kalakeri wrote:
> +1 for me.
> It will be good if you can restrict the lines to 80 columns.
Yep, can you fix the lines to 80 columns?
>> - return FAIL
>> + status, linux_cs = check_sblim(options.ip, options.virt)
>> + if status == PASS:
>> + host_sys = linux_cs[0]
With the change to check_sblim() so that it returns linux_cs[0], you can
do:
host_sys = linux_cs
>> diff -r d2ae228a60c3 -r 7c2de8fcf229
>> suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/02_rcps_gi_errors.py
>>
>> ---
>> a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/02_rcps_gi_errors.py
>> Mon Sep 22 11:28:02 2008 -0700
>> +++
>> b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/02_rcps_gi_errors.py
>> - return status
>> + status, linux_cs = check_sblim(options.ip, options.virt)
>> + if status == PASS:
>> + hostname = linux_cs[0].Name
>> + sccname = linux_cs[0].CreationClassName
Same here.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list