# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1228282396 28800
# Node ID 041a82bdf3abf65105f735a13fab054b23133761
# Parent 70ecd9e8867cc277b31f4703e73b5dba7ad53128
[TEST] Convert define() to use cim_define() for the last two tc
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 70ecd9e8867c -r 041a82bdf3ab
suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py Mon Dec 01 22:15:38 2008
-0800
+++ b/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py Tue Dec 02 21:33:16 2008
-0800
@@ -91,7 +91,7 @@
virt_xml = get_class(virt)
cxml = virt_xml(test_dom)
- ret = cxml.define(server)
+ ret = cxml.cim_define(server)
if not ret:
logger.error("ERROR: Failed to Define the dom: %s" % test_dom)
return status
diff -r 70ecd9e8867c -r 041a82bdf3ab
suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py Mon Dec 01 22:15:38
2008 -0800
+++ b/suites/libvirt-cim/cimtest/ElementConforms/04_ectp_rev_errs.py Tue Dec 02 21:33:16
2008 -0800
@@ -139,7 +139,7 @@
conn = assoc.myWBEMConnection('http://%s' % options.ip, (CIM_USER, CIM_PASS),
CIM_NS)
virt_xml = vxml.get_class(options.virt)
cxml = virt_xml(test_dom)
- ret = cxml.define(options.ip)
+ ret = cxml.cim_define(options.ip)
if not ret:
logger.error('Unable to define domain %s' % test_dom)
return FAIL