yunguol(a)cn.ibm.com wrote:
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224744576 25200
# Node ID 50b2dcc3ef1eabcaf09858ad18b78ba1c4e96031
# Parent 35ff687c818e5c4d38e152aef0f35ca22a4956cf
[TEST]#2 Remove old enumerate and getInstance and update device related tc
-from XenKvmLib.devices import CIM_Instance
-
-class CIM_CimtestClass(CIM_Instance):
+class CIM_CimtestClass:
def __init__(self, host, ref):
conn = pywbem.WBEMConnection('http://%s' % host,
@@ -373,7 +46,6 @@
self.inst = inst
self.ref = ref
- CIM_Instance.__init__(self, inst)
Hi Daisy,
Not sure if I misspoke in a different email, but CIM_Instance needs to
stay since CIM_CimtestClass is dependent on it.
Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com