DMTF Tools: Handled DMTF Tools Download If Branch Name Was Different
Changes:
- Recently, In DMTF Tools website for few of tools repository stable branch name was changed from master to main.
- Handled Download DMTF Tools keyword, to download dmtf tool from their respective stable branch.
Tested:
- Ran All The Scripts Successfully
Change-Id: I7d86799051a95df4728bd728a9c90bdbe0107dad
Signed-off-by: ganesanb <ganesanb@ami.com>
diff --git a/redfish/dmtf_tools/Redfish_Reference_Checker.robot b/redfish/dmtf_tools/Redfish_Reference_Checker.robot
index a9a80f1..1911171 100644
--- a/redfish/dmtf_tools/Redfish_Reference_Checker.robot
+++ b/redfish/dmtf_tools/Redfish_Reference_Checker.robot
@@ -18,6 +18,8 @@
${command_string} ${DEFAULT_PYTHON} ${rsv_dir_path}${/}RedfishReferenceTool.py
... --nochkcert 'https://${OPENBMC_HOST}:${HTTPS_PORT}/redfish/v1/$metadata'
+${branch_name} main
+
*** Test Case ***
Test BMC Redfish Reference
@@ -36,5 +38,5 @@
[Documentation] Do test case setup tasks.
Printn
- Download DMTF Tool ${rsv_dir_path} ${rsv_github_url}
+ Download DMTF Tool ${rsv_dir_path} ${rsv_github_url} ${branch_name}