[Libvirt-cim] [PATCH] [TEST] Fixing HostedResourcePool/03_forward_errs.py

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Tue Sep 1 08:51:58 UTC 2009


# HG changeset patch
# User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
# Date 1251794989 25200
# Node ID 66a9e25564538bea1d26b3b71d50ba99d70aca9a
# Parent  95fa64bf447e5bc2bab501564e3d9336edef997d
[TEST] Fixing HostedResourcePool/03_forward_errs.py

The error desc with and w/o sbmil-cmpi-base is same.
Tested with current sources on F11 and SLES11 with KVM and current sources
Also, tested  with and w/o sbmil-cmpi-base is same on SLES11.
Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>

diff -r 95fa64bf447e -r 66a9e2556453 suites/libvirt-cim/cimtest/HostedResourcePool/03_forward_errs.py
--- a/suites/libvirt-cim/cimtest/HostedResourcePool/03_forward_errs.py	Thu Aug 27 16:39:53 2009 -0700
+++ b/suites/libvirt-cim/cimtest/HostedResourcePool/03_forward_errs.py	Tue Sep 01 01:49:49 2009 -0700
@@ -56,11 +56,6 @@
     host_cn = host_inst.CreationClassName
     host_sys = host_inst.Name
 
-    if (host_cn == "Linux_ComputerSystem"):
-        sblim_rc = pywbem.CIM_ERR_INVALID_PARAMETER
-        expr_values['invalid_ccname'] = {"rc" : sblim_rc, "desc" : "wrong"}
-        expr_values['invalid_name'] = {"rc" : sblim_rc, "desc" : "wrong"}
-
     assoc_classname = get_typed_class(options.virt, "HostedResourcePool")
     keys = {"Name" : host_sys, "CreationClassName" : "wrong"}
     ret =  try_assoc(conn, host_cn, assoc_classname, keys, 




More information about the Libvirt-cim mailing list