diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-06-15 15:58:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-15 15:58:01 +0000 |
commit | a9fa8919d013c3563cd378c74561ec9d532c7ec9 (patch) | |
tree | 79c10c32daa282b599494e29ecb66c6b3655f76d /testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot | |
parent | 2a06283642676194b0bb4ed9cc20fe54005765a5 (diff) | |
parent | fc4e91028d7d90d5ecd1f7a0169dd7d8860ab79b (diff) |
Merge "Replace deprecated keywords"
Diffstat (limited to 'testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot')
-rw-r--r-- | testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot index 54892b0f..2d093236 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot @@ -16,7 +16,7 @@ Check OpenStack Subnets [Documentation] Checking OpenStack Neutron for known subnets [Tags] Subnets 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 subnets [Documentation] Checking OpenDaylight Neutron API for known subnets [Tags] Subnets 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 subnet [Documentation] Create new subnet in OpenStack [Tags] Create Subnet 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} subnet @@ -49,5 +49,5 @@ Create New subnet Check New subnet [Documentation] Check new subnet created in OpenDaylight [Tags] Check subnet OpenDaylight - ${resp} get ODLSession ${ODLREST}/${SUBNETID} + ${resp} get request ODLSession ${ODLREST}/${SUBNETID} Should be Equal As Strings ${resp.status_code} 200 |