Merge "Using assertIsNone() instead of assertEqual(None)"
This commit is contained in:
commit
1ca65e077b
|
@ -491,7 +491,7 @@ class RedfishOperationsTestCase(testtools.TestCase):
|
||||||
_uefi_boot_mode_mock):
|
_uefi_boot_mode_mock):
|
||||||
_uefi_boot_mode_mock.return_value = False
|
_uefi_boot_mode_mock.return_value = False
|
||||||
result = self.rf_client.get_persistent_boot_device()
|
result = self.rf_client.get_persistent_boot_device()
|
||||||
self.assertEqual(result, None)
|
self.assertIsNone(result)
|
||||||
|
|
||||||
@mock.patch.object(redfish.RedfishOperations, '_get_sushy_system')
|
@mock.patch.object(redfish.RedfishOperations, '_get_sushy_system')
|
||||||
def test_get_persistent_boot_device_cdrom_continuous(self,
|
def test_get_persistent_boot_device_cdrom_continuous(self,
|
||||||
|
|
Loading…
Reference in New Issue