Merge "Replace assertEqual(None, *) with assertIsNone in tests"
This commit is contained in:
commit
e27431cfb7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user