This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/2204/

Review request for OpenLMI Developers.
By Jan Safranek.
Repository: openlmi-providers

Description

Compare DateTime key properies as strings.

In CIM-XML, the KYBINDING element can have only three types:
string, number and real. EnumerateInstanceNames() therefore returns
DateTime keys as strings, while EnumerateInstances() returns them with
CIMDateTime type. We must take extra care when comparing them.

Diffs

  • src/python/lmi/test/cases/test_lmi_instances.py (5a36214ec4c2735726c084d2d7d42be0a7ca0032)

View Diff