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

Ship it!

Ship It!


- Michal Minar


On listopad 13th, 2014, 12:43 odp. UTC, Jan Safranek wrote:

Review request for OpenLMI Developers.
By Jan Safranek.

Updated Lis. 13, 2014, 12:43 odp.

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