{"push_id":2205107329,"size":1,"distinct_size":1,"ref":"refs/heads/andy/pytest-cim-obj","head":"f41c55550c0b34f3163a48aa902ebddc4c1bb394","before":"413c58916e78d6797307bf1d3c4d8c7df42071e0","commits":[{"sha":"f41c55550c0b34f3163a48aa902ebddc4c1bb394","author":{"name":"Andreas Maier","email":"09eea454902a0a0e7ce97ef39ca648af84c1a80a@de.ibm.com"},"message":"Improved and converted more of test_cim_obj to py.test; Fixes in cim_obj\n\nDetails:\n- Converted all test classes for `__str__()` and `__repr__()`\n  of CIM object classes to py.test.\n- Converted most test classes for `__init__()` of CIM object classes to\n  py.test and for those, added tests for the position of init arguments,\n  and improved the test cases.\n- Improved exception message when checking array related things.\n- Fixed a bug in cim_obj where setting the `qualifiers` attribute of\n  `CIMProperty`, `CIMMethod` and `CIMParameter` did not ensure that the\n  items in the input dictionary were converted to `CIMQualifier` objects.\n  It now ensures that. Adjusted the test cases accordingly. Note that\n  that conversion had already been done for `CIMClass` and `CIMInstance`.\n- Fixed a bug in cim_obj where the `DeprecationWarning` when setting the\n  deprecated `value` attribute of `CIMParameter` was always issued even\n  when the new value was `None` (which is the default value, so the warning\n  was issued even when the `value` attribute was not used at all).\n  Now, the warning is only issued when the new value is not `None`.\n  Adjusted the test cases accordingly.\n- The getter method for the deprecated `value` attribute of `CIMParameter`\n  also issued a `DeprecationWarning`. Removed that warning because issuing\n  it in the setter method is sufficient (the setter method is also used\n  when initializing an object). Adjusted the test cases accordingly.\n\nSigned-off-by: Andreas Maier <maiera@de.ibm.com>","distinct":true,"url":"https://api.github.com/repos/pywbem/pywbem/commits/f41c55550c0b34f3163a48aa902ebddc4c1bb394"}]}
{"actor":{"display_login":"andy-maier"}}