# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1207556107 25200
# Node ID 2c5375b6b0e80e41d719aaf152f965480facb294
# Parent bedc7fc28125f9d6cc21f7a6752b479313f070e5
[TEST] fix missing argument in 05_hostsystem_cap.py
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r bedc7fc28125 -r 2c5375b6b0e8
suites/libvirt-cim/cimtest/ElementCapabilities/05_hostsystem_cap.py
--- a/suites/libvirt-cim/cimtest/ElementCapabilities/05_hostsystem_cap.py Fri Apr 04
12:25:02 2008 +0530
+++ b/suites/libvirt-cim/cimtest/ElementCapabilities/05_hostsystem_cap.py Mon Apr 07
01:15:07 2008 -0700
@@ -196,7 +196,7 @@ def main():
qcn = 'Service'
name = host_name
# Get the service available on the host
- status, service_assoc_info = get_assoc_info(server, cn, an, qcn, name)
+ status, service_assoc_info = get_assoc_info(server, cn, an, qcn, name, options.virt)
if status != PASS or len(service_assoc_info) == 0:
return status
@@ -223,7 +223,7 @@ def main():
# Query ElementCapabilities and verify the MigrationCapabilities information.
service_fieldname = 'MigrationService'
cap_key = 'MigrationCapabilities'
- status = verify_cap_fields(server, service_fieldname, cap_key)
+ status = verify_cap_fields(server, service_fieldname, cap_key, options.virt)
if status != PASS:
logger.error("MigrationCapabilities Verification failed")
return status
Show replies by date