# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1207207471 -19800
# Node ID 5171b45a180b122994d098a70d164cda8c302c4a
# Parent a6d6b7807c9a4b3f76b310d049f61e2c67712bfc
[TEST] Fixing 02_enum.py tc of RASD.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r a6d6b7807c9a -r 5171b45a180b suites/libvirt-cim/cimtest/RASD/02_enum.py
--- a/suites/libvirt-cim/cimtest/RASD/02_enum.py Thu Apr 03 12:44:46 2008 +0530
+++ b/suites/libvirt-cim/cimtest/RASD/02_enum.py Thu Apr 03 12:54:31 2008 +0530
@@ -63,7 +63,7 @@ def init_list(virt="Xen"):
"ntype2": "ethernet", \
"CreationClassName": get_typed_class(virt,
'NetResourceAllocationSettingData')
}
- address = eval("%s.%s" % (get_class(virt), 'disk_path'))
+ address = vsxml.xml_get_disk_source()
diskrasd = {
"InstanceID" : '%s/%s' %(test_dom, test_disk), \
"ResourceType" : 17, \
Show replies by date