[Libvirt-cim] [PATCH] [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call

Guo Lian Yun yunguol at cn.ibm.com
Tue Oct 14 05:17:03 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-10-13 21:28:15:

> 
> 
> yunguol at cn.ibm.com wrote:
> > # HG changeset patch
> > # User Guolian Yun <yunguol at cn.ibm.com>
> > # Date 1223885227 25200
> > # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0
> > # Parent  c7eaf17bd591f313b93ff2b2087cee11b25789e0
> > [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
> >
> > Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> >
> > diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-
> cim/cimtest/SystemDevice/02_reverse.py
> > --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py   Fri 
> Oct 10 03:08:12 2008 -0700
> > +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py   Mon 
> Oct 13 01:07:07 2008 -0700
> > @@ -99,7 +99,8 @@
> >                      'Name': systems[0]['Name'],
> >                      'CreationClassName': 
systems[0]['CreationClassName']
> >                     }
> > -            system = enumclass.getInstance(options.ip, 
> 'ComputerSystem', keys, options.virt)
> > +            cs = get_typed_class(options.virt, 'ComputerSystem')
> > +            system = enumclass.GetInstance(options.ip, cs, keys)
> > 
> >              if system.Name == test_dom:
> >                  status = PASS
> >
> > _______________________________________________
> > Libvirt-cim mailing list
> > Libvirt-cim at redhat.com
> > https://www.redhat.com/mailman/listinfo/libvirt-cim
> > 
> 
> This tc fails for me on Xen with and without XenFV.

  Yeah, this tc fails with sblim base provider installed, we have to fix 
it firstly.
  Thanks!
 
> 
> _______________________________________________
> 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/20081014/187570f2/attachment.htm>


More information about the Libvirt-cim mailing list