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

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Tue Sep 1 09:02:06 UTC 2009


# HG changeset patch
# User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
# Date 1251795710 25200
# Node ID e6cfd57f957090760ab2454d60ce3b8c6d12a4ee
# Parent  4ccfbf5da9c6a03d994246d415c4ada5484594bc
[TEST] Fixing HostedService/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 4ccfbf5da9c6 -r e6cfd57f9570 suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py
--- a/suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py	Tue Sep 01 00:21:50 2009 -0700
+++ b/suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py	Tue Sep 01 02:01:50 2009 -0700
@@ -55,14 +55,6 @@
     host_ccn = host_inst.CreationClassName
     host_name = host_inst.Name
     
-    if (host_ccn == "Linux_ComputerSystem"):
-        exp_values['invalid_ccname'] = {"rc" : pywbem.CIM_ERR_INVALID_PARAMETER,
-                                        "desc" : "Linux_ComputerSystem"
-                                       } 
-        exp_values['invalid_name'] = {"rc" : pywbem.CIM_ERR_INVALID_PARAMETER,
-                                        "desc" : "Linux_ComputerSystem"
-                                       } 
-
     conn = assoc.myWBEMConnection('http://%s' % options.ip,                                        
                                   (CIM_USER, CIM_PASS),
                                    CIM_NS)




More information about the Libvirt-cim mailing list