Closed cletomartin closed 2 months ago
Add assertEquals compatibility for Python 3.12+.
Looks like assertEquals() has been retired from unittest.TestCase. We use assertEqual() now but we will allow users to use assertEquals() for existing checks.
assertEqual()
assertEquals()
Add a method to ComplianceCheck that points to asserEqual().
asserEqual()
Added unit tests and manually tested.
What
Add assertEquals compatibility for Python 3.12+.
Why
Looks like assertEquals() has been retired from unittest.TestCase. We use
assertEqual()
now but we will allow users to useassertEquals()
for existing checks.How
Add a method to ComplianceCheck that points to
asserEqual()
.Test
Added unit tests and manually tested.