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/050__delete_subnets.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot') diff --git a/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot b/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot index bf2fcbd35..ede9123f4 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot @@ -15,7 +15,7 @@ Delete New subnet [Documentation] Delete previously created subnet in OpenStack [Tags] Delete Subnet 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 New subnet deleted [Documentation] Check subnet deleted in OpenDaylight [Tags] Check subnet 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}/${SUBNETID} + ${resp} get request ODLSession ${ODLREST}/${SUBNETID} Should be Equal As Strings ${resp.status_code} 404 -- cgit 1.2.3-korg