Bump pre-commit black to 22.1.0
[integration/test.git] / csit / libraries / AAAKeywords.robot
index d04b87de5b3aaeab54afc0e69922189c02c44b45..daa5d203074d766552e5d9c8a1d86172dd75e7ab 100644 (file)
@@ -51,7 +51,7 @@ Get Auth Token
     ${auth_data}=    Create Auth Data    ${USER}    ${PWD}    ${scope}    ${client_id}    ${client_secret}
     ${resp}=    AAA Login    ${ODL_SYSTEM_IP}    ${auth_data}
     Should Be Equal As Strings    ${resp.status_code}    201
-    ${auth_token}=    Extract Value From Content    ${resp.text}    /access_token    strip
+    ${auth_token} =    Extract Value From Content    ${resp.text}    'access_token'
     [Return]    ${auth_token}
 
 Revoke Auth Token