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_JsonSchema_ResponseValidator.robot b/redfish/dmtf_tools/Redfish_JsonSchema_ResponseValidator.robot
index daac8be..3b42faf 100644
--- a/redfish/dmtf_tools/Redfish_JsonSchema_ResponseValidator.robot
+++ b/redfish/dmtf_tools/Redfish_JsonSchema_ResponseValidator.robot
@@ -14,13 +14,15 @@
${command_string} ${DEFAULT_PYTHON} ${rsv_dir_path}${/}Redfish-JsonSchema-ResponseValidator.py
... -r https://${OPENBMC_HOST} -u ${OPENBMC_USERNAME} -p ${OPENBMC_PASSWORD} -S -v
+${branch_name} main
+
*** Test Case ***
Test BMC Redfish Using Redfish JsonSchema ResponseValidator
[Documentation] Check OpenBMC conformance with JsonSchema files at the DMTF site.
[Tags] Test_BMC_Redfish_Using_Redfish_JsonSchema_ResponseValidator
- Download DMTF Tool ${rsv_dir_path} ${rsv_github_url}
+ Download DMTF Tool ${rsv_dir_path} ${rsv_github_url} ${branch_name}
Redfish.Login
${url_list}= redfish_utils.List Request /redfish/v1