
Deepti B. Kalakeri wrote:
# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1222777662 25200 # Node ID 1672cfb8d124a9f0dec77fa035f7ca1ef2f890d6 # Parent 74c27c6878537864db0d9a2f37dcfc826abffa5b [TEST] Fixing and updating 03_enabledstate.py of HostedDependency to work with sblim-base-provider.
1) Updated the tc to work with/without sblim-base-provider. 2) Updated the tc to use cim_define(). 3) Updated call_request_state_change() to start the domain. 3) Included the bug no 00007. 4) Used get_host_info() for getting the host information. 5) Included library function print_field_error() to print error msg. 6) Included poll_for_state_change() to verify the EnabledState value.
Tested with Xen, XenFV, KVM on current sources and with/without sblim-base-provider installed.
Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com>
diff -r 74c27c687853 -r 1672cfb8d124 suites/libvirt-cim/cimtest/HostedDependency/03_enabledstate.py
Looks good to me! You'll probably had changes related to the association changes to make, but otherwise - this is good. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com