More double slash URL fixes
Fix TCs that reference HOST_WATCHDOG_URI.
Fix TCs that reference DUMP_ENTRY_URI.
Fix TCs that reference SOFTWARE_VERSION_URI.
FiX TCs that reference HOST_INVENTORY_URI.
Fix 'Get Endpoint Paths' keyword.
Change-Id: I77e5818a05ef5960ab8b0ffe14c1684ec9bbee39
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 29afce2..86101b5 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -12,6 +12,7 @@
Library Process
Library OperatingSystem
Library gen_print.py
+Library gen_misc.py
Library gen_robot_print.py
Library gen_cmd.py
Library gen_robot_keyword.py
@@ -476,7 +477,10 @@
# path URL path for enumeration.
# endpoint Endpoint string (url path ending).
- ${resp}= Read Properties ${path}/enumerate timeout=30
+ # Make sure path ends with slash.
+ ${path}= Add Trailing Slash ${path}
+
+ ${resp}= Read Properties ${path}enumerate timeout=30
Log Dictionary ${resp}
${list}= Get Dictionary Keys ${resp}