Update RequestsLibrary deprecated calls
[integration/test.git] / csit / suites / snmp / snmp-get / 010__snmp_get.robot
index 7bc520a0f0662f6e9c9e640d5a5cbe8cb98c7edb..8197fc70c05d9afd9b0bb4361a870976703a472f 100644 (file)
@@ -18,6 +18,6 @@ ${DEVICE_IP}      10.86.3.13
 List connections
     [Documentation]    SNMP get
     [Tags]    SNMP get
-    ${resp}    RequestsLibrary.Post    session    ${REST_CONTEXT_SNMP_SET}    data={"input": {"ip-address": "${DEVICE_IP}","oid" : "1.3.6.1.2.1.1.1.0","get-type" : "GET-BULK","community" : "private" } }
+    ${resp}    RequestsLibrary.Post Request    session    ${REST_CONTEXT_SNMP_SET}    data={"input": {"ip-address": "${DEVICE_IP}","oid" : "1.3.6.1.2.1.1.1.0","get-type" : "GET-BULK","community" : "private" } }
     Should Be Equal As Strings    ${resp.status_code}    200
     [Teardown]    Report_Failure_Due_To_Bug    5360