Fix misuse of assertFalse
The first argument of assertFalse should not be False, otherwise the assertFalse will be useless and always pass. Change-Id: I3b6303ff3d2fb9b5fee1a8d73af4e5819fadde76
This commit is contained in:
parent
4582ff737e
commit
fb7ddd6d8e
@ -414,7 +414,7 @@ class HDFSNativeShareDriverTestCase(test.TestCase):
|
||||
for key in expected_keys:
|
||||
self.assertIn(key, result)
|
||||
self.assertTrue(result['ipv4_support'])
|
||||
self.assertFalse(False, result['ipv6_support'])
|
||||
self.assertFalse(result['ipv6_support'])
|
||||
self.assertEqual('HDFS', result['storage_protocol'])
|
||||
self._driver._get_available_capacity.assert_called_once_with()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user