From fc4e91028d7d90d5ecd1f7a0169dd7d8860ab79b Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 15 Jun 2016 17:15:28 +0200 Subject: Replace deprecated keywords MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It replaces get by get request, post by post request and delete by delete request. Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811 Signed-off-by: Cédric Ollivier --- .../Controllers/ODL/custom_tests/neutron/040__delete_ports.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot') diff --git a/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot b/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot index 8935b10df..7260d78de 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot @@ -15,7 +15,7 @@ Delete New Port [Documentation] Delete previously created port in OpenStack [Tags] Delete port OpenStack Neutron Log ${data} - ${resp} delete OSSession ${OSREST} + ${resp} delete request OSSession ${OSREST} Should be Equal As Strings ${resp.status_code} 204 Log ${resp.content} sleep 2 @@ -24,10 +24,10 @@ Check Port Deleted [Documentation] Check port deleted in OpenDaylight [Tags] Check port deleted OpenDaylight Create Session ODLSession http://${CONTROLLER}:${PORT} headers=${HEADERS} auth=${AUTH} - ${resp} get ODLSession ${ODLREST} + ${resp} get request ODLSession ${ODLREST} Should be Equal As Strings ${resp.status_code} 200 ${ODLResult} To Json ${resp.content} Set Suite Variable ${ODLResult} Log ${ODLResult} - ${resp} get ODLSession ${ODLREST}/${PORTID} + ${resp} get request ODLSession ${ODLREST}/${PORTID} Should be Equal As Strings ${resp.status_code} 404 -- cgit 1.2.3-korg