# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1260576721 28800
# Node ID ceb3cf5bc4d887de99e59f8c1ca7833ed0550b22
# Parent a3ab7e83b4cf90d4bdf338196621c36f50a4719d
[TEST] Remove hardcoded classname
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r a3ab7e83b4cf -r ceb3cf5bc4d8
suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py Fri
Dec 11 16:12:01 2009 -0800
+++
b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py Fri
Dec 11 16:12:01 2009 -0800
@@ -32,6 +32,7 @@
from XenKvmLib.const import do_main
from CimTest.ReturnCodes import PASS, FAIL
from XenKvmLib.vsms_util import call_modify_res
+from XenKvmLib.classes import get_typed_class
sup_types = ['Xen', 'KVM', 'XenFV']
default_dom = 'rstest_domain'
@@ -40,7 +41,7 @@
def main():
options = main.options
- cn = "KVM_DiskResourceAllocationSettingData"
+ cn = get_typed_class(options.virt, "DiskResourceAllocationSettingData")
service = get_vsms_class(options.virt)(options.ip)
cxml = vxml.get_class(options.virt)(default_dom)
Show replies by date
+1
--
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik(a)linux.vnet.ibm.com