[Libvirt-cim] [PATCH] [TEST] #2 Fix HostedResourcePool/03_forward_errs.py to work with sblim cmpi base provider installed

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Oct 9 15:15:10 UTC 2008


> +bug = "00007"
> +expr_values = {
> +              "invalid_ccname" : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
> +                  "desc" : "No such instance (CreationClassName)"},
> +              "invalid_name"   : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
> +                  "desc" : "No such instance (Name)"}
> +             }

Can you align the lines so that the colons line up.  Like:

"invalid_ccname" : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
           "desc" : "No such instance (CreationClassName)"},

Also, remove the \ at the end of these lines above.

> +    ret =  try_assoc(conn, classname, assoc_classname, keys, \

Remove \ at the end of the line.

> +    ret = try_assoc(conn, classname, assoc_classname, keys, \

Same here - remove the \ at the end of the line.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list