diff --git a/ironic/tests/drivers/drac/test_management.py b/ironic/tests/drivers/drac/test_management.py index 62fb5fdd54..819fd3be7f 100644 --- a/ironic/tests/drivers/drac/test_management.py +++ b/ironic/tests/drivers/drac/test_management.py @@ -173,7 +173,7 @@ class DracManagementTestCase(db_base.DbTestCase): sorted(self.driver.get_supported_boot_devices())) @mock.patch.object(drac_mgmt, '_get_next_boot_mode') - def test_get_boot_devices(self, mock_gnbm, mock_client_pywsman): + def test_get_boot_device(self, mock_gnbm, mock_client_pywsman): mock_gnbm.return_value = {'instance_id': 'OneTime', 'is_next': drac_mgmt.ONE_TIME_BOOT} @@ -192,7 +192,7 @@ class DracManagementTestCase(db_base.DbTestCase): resource_uris.DCIM_BootSourceSetting) @mock.patch.object(drac_mgmt, '_get_next_boot_mode') - def test_get_boot_devices_persistent(self, mock_gnbm, mock_client_pywsman): + def test_get_boot_device_persistent(self, mock_gnbm, mock_client_pywsman): mock_gnbm.return_value = {'instance_id': 'IPL', 'is_next': drac_mgmt.PERSISTENT} @@ -212,8 +212,8 @@ class DracManagementTestCase(db_base.DbTestCase): @mock.patch.object(drac_client.Client, 'wsman_enumerate') @mock.patch.object(drac_mgmt, '_get_next_boot_mode') - def test_get_boot_devices_client_error(self, mock_gnbm, mock_we, - mock_client_pywsman): + def test_get_boot_device_client_error(self, mock_gnbm, mock_we, + mock_client_pywsman): mock_gnbm.return_value = {'instance_id': 'OneTime', 'is_next': drac_mgmt.ONE_TIME_BOOT} mock_we.side_effect = exception.DracClientError('E_FAKE')