[Libvirt-cim] [PATCH] [TEST] Clean up minor test issues with VSMS 14_define_sys_disk.py
Guo Lian Yun
yunguol at cn.ibm.com
Thu Oct 23 09:06:58 UTC 2008
+1 from me.
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol at cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
libvirt-cim-bounces at redhat.com wrote on 2008-10-22 06:05:55:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1224626746 25200
> # Node ID 664c2fc4c52c63c5505a19c59fdc6e94c7135191
> # Parent ede6419d3a506b7cb67bbb91e2d80f2010a0bc3c
> [TEST] Clean up minor test issues with VSMS 14_define_sys_disk.py
>
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
>
> diff -r ede6419d3a50 -r 664c2fc4c52c suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py
> --- a/suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py
> Tue Oct 21 03:51:14 2008 -0700
> +++ b/suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py
> Tue Oct 21 15:05:46 2008 -0700
> @@ -53,8 +53,8 @@
>
> rasds = get_default_rasds(ip, virt)
>
> - for i in range(0, len(rasds)):
> - if rasds[i]['PoolID'].find('DiskPool') >= 0:
> + for i in range(len(rasds)):
> + if 'DiskPool' in rasds[i]['PoolID']:
> rasds[i]['Address'] = addr
> rasds[i] = inst_to_mof(rasds[i])
>
>
> _______________________________________________
> 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/20081023/efe737bb/attachment.htm>
More information about the Libvirt-cim
mailing list