[Libvirt-cim] [PATCH 03 of 10] [TEST] Updating ElementConforms 02_reverse.py tc for Association parameter changes

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Fri Oct 3 12:39:11 UTC 2008


# HG changeset patch
# User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
# Date 1223019788 25200
# Node ID fb25a0a695a9389ee4608d1b61a9c39b2f84644c
# Parent  01ae33b1d27a009ef0401cd55797825ff7771a72
[TEST] Updating ElementConforms  02_reverse.py tc for Association parameter changes

Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>

diff -r 01ae33b1d27a -r fb25a0a695a9 suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Fri Oct 03 00:33:36 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ElementConforms/02_reverse.py	Fri Oct 03 00:43:08 2008 -0700
@@ -143,10 +143,10 @@ def main():
         for item in inst_list:  
             cn = item.CreationClassName
             name = item.Name
+            an = get_typed_class(options.virt, "ElementConformsToProfile")
             profs = assoc.Associators(options.ip,
-                                      "ElementConformsToProfile",
+                                      an,
                                       cn,
-                                      options.virt, 
                                       CreationClassName=cn,
                                       Name=name)
             if len(profs) != 1:




More information about the Libvirt-cim mailing list