# HG changeset patch
# User Kaitlin Rupert <karupert(a)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(a)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])