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

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Feb 6 01:02:05 UTC 2009


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

> @@ -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?


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




More information about the Libvirt-cim mailing list