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/010__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/010__networks.robot')
-rw-r--r-- | testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot b/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot index 59d5adcd1..2341f3dcf 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot @@ -16,7 +16,7 @@ Check OpenStack Networks [Documentation] Checking OpenStack Neutron for known networks [Tags] Network 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 Networks [Documentation] Checking OpenDaylight Neutron API for known networks [Tags] Network 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 Network [Documentation] Create new network in OpenStack [Tags] Create Network OpenStack Neutron Log ${postNet} - ${resp} post OSSession ${OSREST} data=${postNet} + ${resp} post request OSSession ${OSREST} data=${postNet} Should be Equal As Strings ${resp.status_code} 201 ${result} To JSON ${resp.content} ${result} Get From Dictionary ${result} network @@ -49,5 +49,5 @@ Create Network Check Network [Documentation] Check network created in OpenDaylight [Tags] Check Network OpenDaylight - ${resp} get ODLSession ${ODLREST}/${NetID} + ${resp} get request ODLSession ${ODLREST}/${NetID} Should be Equal As Strings ${resp.status_code} 200 |