Replace assertEqual(None, *) with assertIsNone in tests

Replace assertEqual(None, *) with assertIsNone in keystone's tests
to havemore clear messages in case of failure.

Closes-Bug: #1280522
Change-Id: I5a857fcb3bfebc6ff14871df6b2cd1dee44596b2
changes/67/76067/2
lvdongbing 9 years ago
parent b5a26b35ac
commit 17d7ea26db
  1. 2
      keystone/tests/test_pemutils.py

@ -256,7 +256,7 @@ class TestPEMParse(tests.TestCase):
text += 'burfl blatz bingo\n'
data = pemutils.get_pem_data(text)
self.assertEqual(None, data)
self.assertIsNone(data)
def test_get_pem_data_invalid(self):
p = PEM(pem_type='xxx',

Loading…
Cancel
Save