Migrate Get Requests invocations(libraries)
[integration/test.git] / csit / libraries / DIDMKeywords.robot
index 9905ee117a9d0e1f7e15a0b6b58da6058e8583f8..f61c1784c3e8955f114e8183c0e58f66554b8949 100644 (file)
@@ -12,8 +12,7 @@ Resource            ../variables/openflowplugin/Variables.robot
 *** Keywords ***
 Check DIDM Registered With Device
     [Documentation]    Check for DIDM registered with the device
-    ${resp}=    RequestsLibrary.Get Request    session    ${RFC8040_OPERATIONAL_NODES_API}
-    Should Be Equal As Strings    ${resp.status_code}    200
+    ${resp}=    RequestsLibrary.GET On Session    session    ${RFC8040_OPERATIONAL_NODES_API}    expected_status=200
     Log    ${resp.text}
     Should Contain    ${resp.text}    didm
     RETURN    ${resp.text}