Merge "Replace assertEqual(None, *) with assertIsNone in tests"

This commit is contained in:
Jenkins 2016-07-12 11:26:31 +00:00 committed by Gerrit Code Review
commit e27431cfb7

View File

@ -508,7 +508,7 @@ loop0 0"""
size = 'junk'
mock_execute.return_value = (size, None)
ret_size = self.linuxscsi.get_device_size('/dev/fake')
self.assertEqual(None, ret_size)
self.assertIsNone(ret_size)
size_bad = '1024\n'
size_good = 1024