[Libvirt-cim] [PATCH] [TEST] Update test cases to follow the new coding style

Guo Lian Yun yunguol at cn.ibm.com
Fri Feb 6 09:37:04 UTC 2009


libvirt-cim-bounces at redhat.com wrote on 2009-02-06 09:02:05:

> > diff -r edfa908a60d0 -r 4bb5b4c89bfd suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py
> > --- a/suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py   Tue Feb 03 
> 09:37:05 2009 -0800
> > +++ b/suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py   Thu Feb 05 
> 00:52:07 2009 -0800
> 
> Can you fix the logger() call on line 62?
 
  I fixed it on the #2 patch.
> 
> > @@ -76,7 +76,7 @@
> >              break
> > 
> >      if ret != PASS:
> > -        logger.error("%s with %s was not returned" % (cn, exp_val))
> > +        logger.error("%s with %s was not returned", cn, exp_val)
> >          status = FAIL
> > 
> >      return status, inst
> 
> 
> > diff -r edfa908a60d0 -r 4bb5b4c89bfd suites/libvirt-
> cim/cimtest/HostSystem/04_hs_to_EAPF.py
> > --- a/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py   Tue
> Feb 03 09:37:05 2009 -0800
> > +++ b/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py   Thu
> Feb 05 00:52:07 2009 -0800
> > @@ -194,8 +194,8 @@
> 
> Can you fix the logger() call on line 73?
  Same here.
> 
> 
> -- 
> 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/20090206/aa324bed/attachment.htm>


More information about the Libvirt-cim mailing list