@@ -97,10 +97,12 @@ def render_device_dict(index, device):
9797 "- INFO - Command passed to set BIOS attribute pending values.\n "
9898)
9999RESPONSE_BOOT_TO_CUSTOM = (
100- f "- WARNING - Job queue already cleared for iDRAC host01.example.com, DELETE command will not execute.\n "
100+ "- WARNING - Job queue already cleared for iDRAC host01.example.com, DELETE command will not execute.\n "
101101 "- INFO - Command passed to set BIOS attribute pending values.\n "
102102)
103- RESPONSE_BOOT_TO_BAD_TYPE = "- ERROR - Expected values for -t argument are: ['custom', 'director', 'foreman', 'uefi']\n "
103+ RESPONSE_BOOT_TO_BAD_TYPE = (
104+ "- ERROR - Expected values for -t argument are: ['custom', 'director', 'foreman', 'uefi']\n "
105+ )
104106RESPONSE_BOOT_TO_SERVICE_UNAVAILABLE = (
105107 f"- WARNING - Job queue already cleared for iDRAC { MOCK_HOST } , DELETE command will not execute.\n "
106108 "- ERROR - Command failed, error code is: 503.\n "
@@ -234,7 +236,9 @@ def render_device_dict(index, device):
234236 "- ERROR - PxeDev3EnDis not found. Please check attribute name.\n "
235237 "- ERROR - Attribute not found\n "
236238)
237- RESPONSE_CHANGE_BAD_TYPE = "- ERROR - Expected values for -t argument are: ['custom', 'director', 'foreman', 'uefi']\n "
239+ RESPONSE_CHANGE_BAD_TYPE = (
240+ "- ERROR - Expected values for -t argument are: ['custom', 'director', 'foreman', 'uefi']\n "
241+ )
238242RESPONSE_CHANGE_TO_SAME = "- WARNING - No changes were made since the boot order already matches the requested.\n "
239243RESPONSE_CHANGE_NO_INT = "- ERROR - You must provide a path to the interfaces yaml via `-i` optional argument.\n "
240244
@@ -581,13 +585,8 @@ def render_device_dict(index, device):
581585 "- INFO - Model: Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz\n "
582586 "- ERROR - There was something wrong getting processor details\n "
583587)
584- GPU_SUMMARY_RESP = (
585- '{"GPUSummary":"AMD Instinct MI300X": 2,}'
586-
587- )
588- GPU_SUMMARY_RESP_FAULTY = (
589- '{"GPUSummary":"Unknown: 1"}'
590- )
588+ GPU_SUMMARY_RESP = '{"GPUSummary":"AMD Instinct MI300X": 2,}'
589+ GPU_SUMMARY_RESP_FAULTY = '{"GPUSummary":"Unknown: 1"}'
591590GPU_MEMBERS_RESP = (
592591 '{"Members": ['
593592 '{"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors/ProcAccelerator.Slot.21-1"},'
@@ -610,9 +609,7 @@ def render_device_dict(index, device):
610609 '"ProcessorType": "Accelerator",'
611610 '"Id": "ProcAccelerator.Slot.22-1"}'
612611)
613- GPU_DATA_RESP_FAULTY = (
614- '{"GPU":"" }'
615- )
612+ GPU_DATA_RESP_FAULTY = '{"GPU":"" }'
616613RESPONSE_LS_GPU = (
617614 "- INFO - GPU Summary:\n "
618615 "- INFO - Model: AMD Instinct MI300X (Count: 2)\n "
@@ -835,12 +832,8 @@ def render_device_dict(index, device):
835832VMEDIA_OS_DEPLOYMENT_NOT_SUPPORTED_CHECK = (
836833 "- ERROR - There was something wrong trying to check remote image attach status.\n "
837834)
838- VMEDIA_OS_DEPLOYMENT_NOT_SUPPORTED_BOOT = (
839- "- ERROR - Command failed to boot to remote ISO. No job was created.\n "
840- )
841- VMEDIA_OS_DEPLOYMENT_NOT_SUPPORTED_DETACH = (
842- "- INFO - Command to detach remote ISO was successful.\n "
843- )
835+ VMEDIA_OS_DEPLOYMENT_NOT_SUPPORTED_BOOT = "- ERROR - Command failed to boot to remote ISO. No job was created.\n "
836+ VMEDIA_OS_DEPLOYMENT_NOT_SUPPORTED_DETACH = "- INFO - Command to detach remote ISO was successful.\n "
844837VMEDIA_REMOTE_CHECK_RESP = """
845838{
846839 "@Message.ExtendedInfo": [{
0 commit comments