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 --- testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot') diff --git a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot index 797d4f3bc..384f607ab 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot @@ -16,7 +16,7 @@ Check OpenStack ports [Documentation] Checking OpenStack Neutron for known ports [Tags] Ports Neutron OpenStack Log ${X-AUTH} - ${resp} get OSSession ${OSREST} + ${resp} get request OSSession ${OSREST} Should be Equal As Strings ${resp.status_code} 200 ${OSResult} To Json ${resp.content} Set Suite Variable ${OSResult} @@ -26,7 +26,7 @@ Check OpenDaylight ports [Documentation] Checking OpenDaylight Neutron API for known ports [Tags] Ports Neutron 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} @@ -36,7 +36,7 @@ Create New Port [Documentation] Create new port in OpenStack [Tags] Create port OpenStack Neutron Log ${data} - ${resp} post OSSession ${OSREST} data=${data} + ${resp} post request OSSession ${OSREST} data=${data} Should be Equal As Strings ${resp.status_code} 201 ${result} To JSON ${resp.content} ${result} Get From Dictionary ${result} port @@ -49,5 +49,5 @@ Create New Port Check New Port [Documentation] Check new port created in OpenDaylight [Tags] Check subnet OpenDaylight - ${resp} get ODLSession ${ODLREST}/${PORTID} + ${resp} get request ODLSession ${ODLREST}/${PORTID} Should be Equal As Strings ${resp.status_code} 200 -- cgit 1.2.3-korg