Tidy robot files.
[integration/test.git] / csit / suites / aaa / authn / 010_Credential_Authentication.robot
index a91d615396dd39f42e88c1112c51bae9aa49917e..a442ee43c7b37fcfc6d85c05d1c6d2637fbb9aed 100644 (file)
@@ -52,7 +52,10 @@ Revoke Token And Verify Transaction Fails
     Make REST Transaction    401    ${auth_token}
 
 Disable Authentication And Re-Enable Authentication
-    [Documentation]    Toggles authentication off and verifies that no login credentials are needed for REST transactions
+    [Documentation]    Toggles authentication off and verifies that no login credentials are needed for REST transactions.
+    ...    Test has been disabled due to the fact that this interface has changed. Authentication is now disabled
+    ...    through modification of shiro.ini, which requires controller restart and is not suit for this test.
+    [Tags]    exclude
     Disable Authentication On Controller    ${ODL_SYSTEM_IP}
     Wait Until Keyword Succeeds    10s    1s    Make REST Transaction    200
     Enable Authentication On Controller    ${ODL_SYSTEM_IP}
@@ -71,6 +74,6 @@ Make REST Transaction
     Create Session    ODL_SESSION    http://${ODL_SYSTEM_IP}:8181
     ${headers}=    Create Dictionary    Content-Type=application/x-www-form-urlencoded
     Run Keyword If    "${auth_data}" != "${EMPTY}"    Set To Dictionary    ${headers}    Authorization    Bearer ${auth_data}
-    ${resp}=    RequestsLibrary.GET    ODL_SESSION    ${MODULES_API}    headers=${headers}
+    ${resp}=    RequestsLibrary.GET Request    ODL_SESSION    ${MODULES_API}    headers=${headers}
     Log    STATUS_CODE: ${resp.status_code} CONTENT: ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    ${expected_status_code}