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: I254177113bd9ef579cc227cb10ccb952a6418b4c Closes-bug: #1280522
This commit is contained in:
parent
2d51367764
commit
facfa96397
|
@ -227,7 +227,7 @@ class QueuesV1QueueUnitTest(base.QueuesTestBase):
|
||||||
|
|
||||||
rst = self.queue.delete_messages('50b68a50d6f5b8c8a7c62b01',
|
rst = self.queue.delete_messages('50b68a50d6f5b8c8a7c62b01',
|
||||||
'50b68a50d6f5b8c8a7c62b02')
|
'50b68a50d6f5b8c8a7c62b02')
|
||||||
self.assertEqual(None, rst)
|
self.assertIsNone(rst)
|
||||||
|
|
||||||
# NOTE(flaper87): Nothing to assert here,
|
# NOTE(flaper87): Nothing to assert here,
|
||||||
# just checking our way down to the transport
|
# just checking our way down to the transport
|
||||||
|
|
Loading…
Reference in New Issue