Minor change in rest_lib to simplify code 85/15285/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 17 Jul 2025 07:55:57 +0000 (09:55 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 17 Jul 2025 07:56:05 +0000 (09:56 +0200)
Change-Id: Ica69341d3bca4dd5bc1f85d3b73f46da191c6529
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
robot-systest/lib/rest_lib.resource

index 6bec42d..654290d 100644 (file)
@@ -66,8 +66,7 @@ Set Standalone Host
 Get Resource Directory
     [Documentation]   Return Directory corresponding to the resources folder
     ${Directory}=   Replace String   ${CURDIR}   lib   resources
-    ${json_path}=   Set Variable   ${Directory}
-    RETURN   ${json_path}
+    RETURN   ${Directory}
 
 Post Api Request
     [Documentation]   Send to OSM a POST API message to OSM to the given uri with the given json data,