# HG changeset patch
# User Deepti B. Kalakeri<deeptik(a)linux.vnet.ibm.com>
# Date 1224765522 25200
# Node ID 695725ffeb3d3b13c8d02e8c9ef9aa6e094a64fa
# Parent 35ff687c818e5c4d38e152aef0f35ca22a4956cf
[TEST] Fixing the 01_forward.py tc of HostedResourcePool .
Tested on KVM with F9 rpm.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 35ff687c818e -r 695725ffeb3d
suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Wed Oct 22 02:08:26 2008
-0700
+++ b/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Thu Oct 23 05:38:42 2008
-0700
@@ -107,7 +107,7 @@
#Verifying that we get the atleast the expected instanceid
#for every pool class
for key in exp_pllist.keys():
- if Set(exp_pllist[key]) != Set(res_pllist[key]):
+ if Set(exp_pllist[key]) - Set(res_pllist[key]):
logger.error("InstanceID mismatch")
raise Exception("Expected InstanceID: %s \n \t Got: %s"
% (sorted(exp_pllist[key]),