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: Id1cc5e677a8df90afd07ed51c4845e90dfee0cc3 Closes-Bug: #1280522
This commit is contained in:
parent
8ba3bf9cde
commit
771c5e69cb
|
@ -74,7 +74,7 @@ class TestFloatingIPLoaderPlugin(test_utils.BaseTestCase):
|
|||
|
||||
def test_parent_type(self):
|
||||
# Explicitly not setting a parent since there'll only ever be one
|
||||
self.assertEqual(None, self.plugin.parent_plugin_type())
|
||||
self.assertIsNone(self.plugin.parent_plugin_type())
|
||||
|
||||
def test_rbac_filter(self):
|
||||
fake_request = unit_test_utils.get_fake_request(
|
||||
|
|
Loading…
Reference in New Issue