[PATCH] [TEST] Fixing HostedService/03_forward_errs.py
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)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(a)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)
15 years, 4 months
[PATCH] [TEST] Fixing HostedResourcePool/03_forward_errs.py
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)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(a)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,
15 years, 4 months