More double slash URL fixes
Fix SNMP test case library module.
Fix TCs that reference NETWORK_MANAGER.
Fix TCs that reference BMC_LOGGING_ENTRY.
Change-Id: I17070540062461ef2106e8e2aa7f43f835bf7fdd
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/lib/logging_utils.robot b/lib/logging_utils.robot
index 446bdd6..b13057c 100644
--- a/lib/logging_utils.robot
+++ b/lib/logging_utils.robot
@@ -162,7 +162,7 @@
Delete Error Logs And Verify
[Documentation] Delete all error logs and verify.
Delete All Error Logs
- ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/list quiet=${1}
+ ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}list quiet=${1}
Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
... msg=Error logs not deleted as expected.
diff --git a/lib/openbmc_ffdc_utils.robot b/lib/openbmc_ffdc_utils.robot
index 6c95dd4..182591d 100644
--- a/lib/openbmc_ffdc_utils.robot
+++ b/lib/openbmc_ffdc_utils.robot
@@ -123,7 +123,7 @@
Error Logs Should Not Exist
[Documentation] Verify that error logs do not exist.
- ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/list quiet=${1}
+ ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}list quiet=${1}
Should Be Equal As Strings ${resp.status_code} ${HTTP_NOT_FOUND}
... msg=Unexpected BMC error log(s) present.
@@ -131,6 +131,6 @@
Error Logs Should Exist
[Documentation] Verify that error logs exist.
- ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/list quiet=${1}
+ ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}list quiet=${1}
Run Keyword If ${resp.status_code} != ${HTTP_OK} Fail
... msg=Expected BMC error log(s) are not present.
diff --git a/lib/snmp/snmp_utils.robot b/lib/snmp/snmp_utils.robot
index 792afa1..3ede66a 100644
--- a/lib/snmp/snmp_utils.robot
+++ b/lib/snmp/snmp_utils.robot
@@ -34,7 +34,7 @@
${data}= Create Dictionary data=@{snmp_parm_list}
${resp}= OpenBMC Post Request
- ... ${SNMP_MANAGER_URI}/action/Client data=${data}
+ ... ${SNMP_MANAGER_URI}action/Client data=${data}
Run Keyword If '${expected_result}' == 'error'
... Should Be Equal As Strings
diff --git a/lib/utils.robot b/lib/utils.robot
index 51a6d03..29afce2 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -514,7 +514,7 @@
[Documentation] Delete error logs.
# Check if error logs entries exist, if not return.
- ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}${/}list quiet=${1}
+ ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}list quiet=${1}
Return From Keyword If ${resp.status_code} == ${HTTP_NOT_FOUND}
# Get the list of error logs entries and delete them all.