
yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1224470389 25200 # Node ID b87d80615bb3765161d2295e3cefc14c4152fdf2 # Parent a3d9c0a81c27471418993b7c8f907f0b95f79e63 [TEST] Remove old enumerate* and getInstance in enumclass.py and device.py
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
When I attempt to run the test suite with this patch applied, I get the following error: Traceback (most recent call last): File "main.py", line 40, in <module> from XenKvmLib.common_util import create_netpool_conf, destroy_netpool, \ File "./lib/XenKvmLib/common_util.py", line 41, in <module> from XenKvmLib.enumclass import getInstance ImportError: cannot import name getInstance Also, you'll want to remove the following from enumclass.py: CIM_MyClass Linux_ComputerSystem All other CIM_* class definitions From devices.py, you'll want to remove: CIM_Instance CIM_LogicalDevice All of the other CIM_* class definitions get_class() definition Be sure to run cimtest to make sure none of the tests fail after these pieces are removed. Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com