ironic/ironic/tests/unit/drivers/modules/redfish
Dmitry Tantsur 004e78c413
Fix the confusion around service_reboot/servicing_reboot
We ended up using two names for the same flag (and forgot it in one
place completely). To not just fix the issue but also prevent it in the
future, refactor asynchronous steps handling into a new helper module
with constants and helper functions.

I've settled on servicing_reboot as opposed to service_reboot because
that's the value we currently set (but not read), so it provides
better compatibility when backporting.

Remove excessive mocking in the Redfish unit tests.

Change-Id: I32b5f860b5d10864ce68f8d5f1dac3f76cd158d6
2024-04-12 18:09:54 +02:00
..
__init__.py Add redfish driver 2017-04-21 11:06:24 +01:00
test_bios.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00
test_boot.py Drop fallback to unmanaged inspection for virtual media and UEFI boot 2024-03-18 10:26:47 +01:00
test_firmware.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00
test_firmware_utils.py Replace swiftclient usage with openstacksdk 2023-11-29 12:44:30 +13:00
test_inspect.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00
test_management.py Fix the confusion around service_reboot/servicing_reboot 2024-04-12 18:09:54 +02:00
test_power.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00
test_raid.py Fix the confusion around service_reboot/servicing_reboot 2024-04-12 18:09:54 +02:00
test_utils.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00
test_vendor.py Don't import sushy conditionally, it's a requirement 2024-02-28 16:56:17 +01:00