[PATCH] [TEST] Fixing EAFP/04_forward_errs.py

# HG changeset patch # User Deepti B. Kalakeri<deeptik@linux.vnet.ibm.com> # Date 1249997113 25200 # Node ID 2f339d5b932d957cccc6432c6b979ad6bff02a8b # Parent 12fd8bac01f25251dbfb64dd5e764f533108964b [TEST] Fixing EAFP/04_forward_errs.py. Tested with KVM on F10 and Xen on RHEL5.3 with current sources. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> diff -r 12fd8bac01f2 -r 2f339d5b932d suites/libvirt-cim/cimtest/ElementAllocatedFromPool/04_forward_errs.py --- a/suites/libvirt-cim/cimtest/ElementAllocatedFromPool/04_forward_errs.py Mon Aug 10 04:39:27 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ElementAllocatedFromPool/04_forward_errs.py Tue Aug 11 06:25:13 2009 -0700 @@ -498,10 +498,9 @@ else: test_disk = "hda" destroy_and_undefine_all(options.ip) - vsxml = get_class(virt)(test_dom, vcpus = test_vcpus, mac = test_mac, \ - disk = test_disk) + vsxml = get_class(virt)(test_dom, vcpus = test_vcpus, + mac = test_mac, disk = test_disk) - bridge = vsxml.set_vbridge(options.ip, default_network_name) ret = vsxml.cim_define(options.ip) if not ret: logger.error("Failed to define the dom: %s", test_dom)
participants (1)
-
Deepti B. Kalakeri