
# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1258679326 28800 # Node ID 8c635edef727257682ec9f3e5a21d52bf0c39887 # Parent ed5aa34e2a1fdd5b020015b22ee633d5b61a7a0f [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest() Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r ed5aa34e2a1f -r 8c635edef727 suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Wed Nov 18 13:39:37 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Thu Nov 19 17:08:46 2009 -0800 @@ -65,7 +65,7 @@ return PASS, inst -def power_down_guest(ip, virt, dom): +def power_down_guest(ip, virt, dom, cxml): rev, changeset = get_provider_version(virt, ip) if rev < disable_change_rev and virt == "KVM": @@ -125,7 +125,8 @@ raise Exception("Failed to modify dom: %s" % default_dom) if case == "start": - status = power_down_guest(options.ip, options.virt, default_dom) + status = power_down_guest(options.ip, options.virt, default_dom, + cxml) if status != PASS: raise Exception("Unable to disable %s" % default_dom)