From 52aea0f59a46d4ddcdebf16a5bec2f38c97d38b8 Mon Sep 17 00:00:00 2001 From: Peter Bandzi Date: Mon, 19 Oct 2015 16:15:47 +0200 Subject: 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 --- testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt | 2 +- .../Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt | 2 +- .../Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'testcases/Controllers') 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 -- cgit 1.2.3-korg