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: If651a433db3e573c3b0b86b2a9f87ab84e65b96b
Closes-bug: #1280522
changes/53/257253/1
Shuquan Huang 7 years ago
parent adafb675ae
commit 64c746df38
  1. 2
      glance_store/tests/unit/test_swift_store.py

@ -853,7 +853,7 @@ class SwiftTests(object):
self.assertEqual(1, mock_del_obj.call_count)
_, kwargs = mock_del_obj.call_args
self.assertEqual(None, kwargs.get('query_string'))
self.assertIsNone(kwargs.get('query_string'))
def test_delete_with_reference_params(self):
"""

Loading…
Cancel
Save