[Libvirt-cim] [PATCH] [TEST] #3 Remove old enumerate and getInstance and update device related tc

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Oct 24 21:44:53 UTC 2008


> diff -r ddd578da7555 -r a4aa517fe926 suites/libvirt-cim/cimtest/LogicalDisk/03_ld_gi_errs.py
> --- a/suites/libvirt-cim/cimtest/LogicalDisk/03_ld_gi_errs.py	Thu Oct 23 05:38:42 2008 -0700
> +++ b/suites/libvirt-cim/cimtest/LogicalDisk/03_ld_gi_errs.py	Thu Oct 23 19:17:15 2008 -0700
> @@ -125,7 +125,7 @@

> -from XenKvmLib.const import do_main, get_provider_version
> +from XenKvmLib.const import do_main 

This needs to stay..
> 
>      global conn
>      conn = assoc.myWBEMConnection('http://%s' % options.ip, (CIM_USER, CIM_PASS), CIM_NS)
> -
> -    rev, changeset = get_provider_version(options.virt, options.ip)
> -    if rev < 682:
> -        old_ret = { 'rc' : pywbem.CIM_ERR_NOT_FOUND,
> -                    'desc' : "No such instance (INVALID_DevID_Keyvalue)"
> -                  }
> -        expr_values["invalid_devid_keyvalue"] = old_ret 

As does this..

These are part of changeset 453.

Otherwise, looks good!

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




More information about the Libvirt-cim mailing list