diff options
author | 2016-06-15 17:15:28 +0200 | |
---|---|---|
committer | 2016-06-15 17:20:44 +0200 | |
commit | fc4e91028d7d90d5ecd1f7a0169dd7d8860ab79b (patch) | |
tree | 39f7e66f82ddf6a2f0efd8c5129505f547da7831 /testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot | |
parent | 534d653f65574d19494b48036ad4eec9d2006d53 (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/060__delete_networks.robot')
-rw-r--r-- | testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot b/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot index 210957b83..d917632b5 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot @@ -15,7 +15,7 @@ Delete Network [Documentation] Delete network in OpenStack [Tags] Delete Network OpenStack Neutron Log ${postNet} - ${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 Network deleted [Documentation] Check network deleted in OpenDaylight [Tags] Check Network 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}/${NetID} + ${resp} get request ODLSession ${ODLREST}/${NetID} Should be Equal As Strings ${resp.status_code} 404 |