Fix bug 2220 to solve sol003_01 test
[osm/tests.git] / robot-systest / lib / sol003_common_lib.robot
index 7262161..d233498 100644 (file)
@@ -35,7 +35,7 @@ ${vnf_instance_lcm_ops}   /osm/vnflcm/v1/vnf_lcm_op_occs
 Get Auth Token
     [Tags]   auth_token
     Get Hostname
-    Create Session   osmhit   ${HOST}
+    Create Session   osmhit   ${HOST}   disable_warnings=1
     &{headers}   Create Dictionary   Content-Type=application/json   Accept=application/json
     &{data}   Create Dictionary   username=${osm_user}   password=${osm_password}   project-id=${osm_project}
     ${resp}=   Post On Session   osmhit   ${auth_token_uri}   json=${data}   headers=${headers}
@@ -89,7 +89,7 @@ Update Json Value
     [Arguments]   ${JsonInput}   ${key}
     ${json_path}=   Read Directory
     ${json_obj}=   Load JSON From File   ${json_path}/${JsonInput}
-    ${updated_json_obj}   JSONLibrary.Update Value To Json   ${json_obj}   $..${key}   ${created_vim_account_id}
+    ${updated_json_obj}=   JSONLibrary.Update Value To Json   ${json_obj}   $..${key}   ${created_vim_account_id}
     Set Suite Variable   ${updated_json_obj}
 
 Get Api Request