Replace assertEqual(None, *) with assertIsNone in tests
Replace assertEqual(None, *) with assertIsNone in tests to have more clear messages in case of failure. Change-Id: I2506fe57adb98c52147138d8eb6c0254423ffdd7
This commit is contained in:
parent
798782cb9c
commit
08d458fb06
|
@ -228,4 +228,4 @@ malformed or otherwise incorrect.
|
||||||
}"""
|
}"""
|
||||||
|
|
||||||
msg = forms.exception_to_validation_msg(json_error)
|
msg = forms.exception_to_validation_msg(json_error)
|
||||||
self.assertEqual(msg, None)
|
self.assertIsNone(msg)
|
||||||
|
|
Loading…
Reference in New Issue