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

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Mon Oct 13 13:32:57 UTC 2008


+1 for me.

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
>   




More information about the Libvirt-cim mailing list