Merge "Using assertIsNone() instead of assertEqual(None)"

This commit is contained in:
Zuul 2018-04-26 08:53:19 +00:00 committed by Gerrit Code Review
commit 1ca65e077b
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ class RedfishOperationsTestCase(testtools.TestCase):
_uefi_boot_mode_mock):
_uefi_boot_mode_mock.return_value = False
result = self.rf_client.get_persistent_boot_device()
self.assertEqual(result, None)
self.assertIsNone(result)
@mock.patch.object(redfish.RedfishOperations, '_get_sushy_system')
def test_get_persistent_boot_device_cdrom_continuous(self,