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

Guo Lian Yun yunguol at cn.ibm.com
Tue Oct 28 02:46:34 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-10-25 05:44:53:

> > 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.

  Good catch. Stay it.
  Thanks!
> 
> Otherwise, looks good!
> 
> -- 
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20081028/1b4f62b3/attachment.htm>


More information about the Libvirt-cim mailing list