Relax Software ID name check
Changed:
The test expects ID to be a HEX number, change it to expect a string
with numbers and _.
Tested:
Ran against various real world IDs.
Change-Id: If4de6e8c41d14bdb33e49d66ea180a22d01f7b82
Signed-off-by: Igor Kanyuka <ifelmail@gmail.com>
diff --git a/redfish/update_service/test_firmware_inventory.robot b/redfish/update_service/test_firmware_inventory.robot
index 1938791..ad7918b 100644
--- a/redfish/update_service/test_firmware_inventory.robot
+++ b/redfish/update_service/test_firmware_inventory.robot
@@ -132,17 +132,16 @@
... valid_values=['/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate']
-Verify Redfish Software Hex ID
+Verify Redfish Software ID
[Documentation] Verify BMC images have valid 8-digit hex IDs.
- [Tags] Verify_Redfish_Software_Hex_ID
+ [Tags] Verify_Redfish_Software_ID
${sw_inv_dict}= Get Software Inventory State
FOR ${id_key} IN @{sw_inv_dict}
${sw_inv}= Get From Dictionary ${sw_inv_dict} ${id_key}
Should Be Equal As Strings ${id_key} ${sw_inv['image_id']}
- Length Should Be ${sw_inv['image_id']} ${8}
- Should Match Regexp ${sw_inv['image_id']} [0-9a-f]*
+ Should Match Regexp ${sw_inv['image_id']} [0-9_a-z]*
END