summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-06-15 17:15:28 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2016-06-15 17:20:44 +0200
commitfc4e91028d7d90d5ecd1f7a0169dd7d8860ab79b (patch)
tree39f7e66f82ddf6a2f0efd8c5129505f547da7831 /testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot
parent534d653f65574d19494b48036ad4eec9d2006d53 (diff)
Replace deprecated keywords
It replaces get by get request, post by post request and delete by delete request. Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot')
-rw-r--r--testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot6
1 files changed, 3 insertions, 3 deletions
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