Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted some more tests in test_cim_obj from unittest to pytest and…
… a fix. Details: - Converted all str and repr test classes to py.test. - Converted most init test classes to py.test. - Added test cases for testing the position of init arguments. - Fixed a bug where the initialization of the qualifiers attribute of CIMProperty and CIMMethod did not ensure that the items in the input dictionary were cnverted to CIMQualifier objects. It now ensures that. Adjusted the testcases accordingly. - Fixed a bug where the DeprecationWarning when setting the deprecated value attribute of CIMParameter was always issued even when the value was None. Now, it is only issued when the value is not None. Adjusted the testcases accordingly. - The getter method for the deprecated value attribute of CIMParameter issued a DeprecationWarning. Removed that warning because issuing it in the setter method is sufficient. Adjusted the testcases accordingly. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information