From: Peter Bandzi Date: Mon, 19 Oct 2015 14:15:47 +0000 (+0200) Subject: change expected response to 404 X-Git-Tag: brahmaputra.1.0~305 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F2629%2F1;p=functest.git change expected response to 404 HTTP response 404 means not found which should indicate that requested entity was not found. And this is what we want after delete. JIRA: FUNCTEST-79 Change-Id: I7dc501dfe3581e5549b002abe1018add88fe8d83 Signed-off-by: Peter Bandzi --- diff --git a/testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt b/testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt index 1fc3fc41d..02c90c37c 100644 --- a/testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt +++ b/testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt @@ -34,4 +34,4 @@ Check Port Deleted Set Suite Variable ${ODLResult} Log ${ODLResult} ${resp} get ODLSession ${ODLREST}/${PORTID} - Should be Equal As Strings ${resp.status_code} 204 + Should be Equal As Strings ${resp.status_code} 404 diff --git a/testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt b/testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt index 338786368..4121c98fe 100644 --- a/testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt +++ b/testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt @@ -34,4 +34,4 @@ Check New subnet deleted Set Suite Variable ${ODLResult} Log ${ODLResult} ${resp} get ODLSession ${ODLREST}/${SUBNETID} - Should be Equal As Strings ${resp.status_code} 204 + Should be Equal As Strings ${resp.status_code} 404 diff --git a/testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt b/testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt index 106ac80e7..fc823fa4b 100644 --- a/testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt +++ b/testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt @@ -34,4 +34,4 @@ Check Network deleted Set Suite Variable ${ODLResult} Log ${ODLResult} ${resp} get ODLSession ${ODLREST}/${NetID} - Should be Equal As Strings ${resp.status_code} 204 + Should be Equal As Strings ${resp.status_code} 404