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: I834ec0fd6d335383ee2ef71efe8cd51a25a22650 Partial-bug: #1280522
This commit is contained in:
@@ -123,7 +123,7 @@ class TestUtils(testtools.TestCase):
|
||||
|
||||
profile = None
|
||||
utils.validate_lp_display_name(profile)
|
||||
self.assertEqual(None, profile)
|
||||
self.assertIsNone(profile)
|
||||
|
||||
def test_pipeline_processor(self):
|
||||
counter = dict(n=0)
|
||||
|
||||
Reference in New Issue
Block a user