[Libvirt-cim] [PATCH] [TEST] Add bug number to SettingsDefineCapabilities/03_forward_errs.py

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Oct 16 17:53:02 UTC 2008


yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1224151280 25200
> # Node ID 46678f7f5697f804c8caa2f2c98f48bc7702ba71
> # Parent  96d45b1dcc0801ade819413abe1af43b3957dde4
> [TEST] Add bug number to SettingsDefineCapabilities/03_forward_errs.py
> 
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> 
> diff -r 96d45b1dcc08 -r 46678f7f5697 suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py
> --- a/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py	Wed Oct 15 06:07:28 2008 -0700
> +++ b/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py	Thu Oct 16 03:01:20 2008 -0700
> @@ -36,6 +36,7 @@
>  from XenKvmLib.classes import get_typed_class
> 
>  platform_sup = ['Xen', 'KVM', 'XenFV', 'LXC']
> +bug = '00009'

This bug number isn't needed.

> 
>  expr_values = {
>     "invalid_instid_keyname"  : { 'rc'   : pywbem.CIM_ERR_FAILED, 
> @@ -100,7 +101,7 @@
>      keys = { 'InstanceID' : 'MemoryPool/0' }
>      return try_assoc(conn, classname, assoc_classname, keys, field_name=field, \
>                       expr_values=expr_values['invalid_ccname_keyname'],
> -                     bug_no="")
> +                     bug_no=bug)

I would remove this particular case from the test case since it is only 
testing the CIMOM - it's not touching the provider at all.

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




More information about the Libvirt-cim mailing list