# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1218212683 25200
# Node ID 55b78429571c289fee32af48898d4d7f23c1cbdd
# Parent adf7be19f36383916980d55d138761244cb3e389
[TEST] Fix calls to create_using_definesystem() to support new param.
This call now how has a ref_config param.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r adf7be19f363 -r 55b78429571c suites/libvirt-cim/cimtest/Memory/02_defgetmem.py
--- a/suites/libvirt-cim/cimtest/Memory/02_defgetmem.py Mon Jul 21 17:26:45 2008 -0700
+++ b/suites/libvirt-cim/cimtest/Memory/02_defgetmem.py Fri Aug 08 09:24:43 2008 -0700
@@ -64,8 +64,11 @@
undefine_test_domain(default_dom, options.ip)
+
try:
- rc = create_using_definesystem(default_dom, options.ip, None, None,
options.virt)
+ rc = create_using_definesystem(default_dom, options.ip, params=None,
+ ref_config='', exp_err=None,
+ virt=options.virt)
if rc != 0:
raise Exception("Unable to create domain %s using DefineSys()" %
default_dom)
diff -r adf7be19f363 -r 55b78429571c
suites/libvirt-cim/cimtest/Processor/02_definesys_get_procs.py
--- a/suites/libvirt-cim/cimtest/Processor/02_definesys_get_procs.py Mon Jul 21 17:26:45
2008 -0700
+++ b/suites/libvirt-cim/cimtest/Processor/02_definesys_get_procs.py Fri Aug 08 09:24:43
2008 -0700
@@ -75,9 +75,9 @@
undefine_test_domain(default_dom, options.ip)
try:
- rc = create_using_definesystem(default_dom, options.ip,
- None, None,
- options.virt)
+ rc = create_using_definesystem(default_dom, options.ip, params=None,
+ ref_config=' ', exp_err=None,
+ virt=options.virt)
if rc != 0:
raise Exception("Unable create domain %s using DefineSystem()" \
% default_dom)
diff -r adf7be19f363 -r 55b78429571c
suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py Mon
Jul 21 17:26:45 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py Fri
Aug 08 09:24:43 2008 -0700
@@ -52,8 +52,8 @@
'exp_desc' : exp_desc
}
- rc = create_using_definesystem(dname, options.ip,
- params, exp_err, virt=options.virt)
+ rc = create_using_definesystem(dname, options.ip, params, ref_config=' ',
+ exp_err=exp_err, virt=options.virt)
if rc != PASS:
logger.error('DefineSystem should NOT return OK with a wrong ss input')
diff -r adf7be19f363 -r 55b78429571c
suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py Mon
Jul 21 17:26:45 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py Fri
Aug 08 09:24:43 2008 -0700
@@ -51,8 +51,9 @@
'exp_desc' : exp_desc
}
- rc = create_using_definesystem(dname, options.ip,
- params, exp_err, virt=options.virt)
+
+ rc = create_using_definesystem(dname, options.ip, params, ref_config=' ',
+ exp_err=exp_err, virt=options.virt)
if rc != PASS:
logger.error('DefineSystem should NOT return OK with a wrong ss input')