summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Bandzi <pbandzi@cisco.com>2015-10-19 16:15:47 +0200
committerPeter Bandzi <pbandzi@cisco.com>2015-10-19 16:18:14 +0200
commit52aea0f59a46d4ddcdebf16a5bec2f38c97d38b8 (patch)
tree4596867f743f4bd022c1f5c7b222f50d2a6347d4
parent1f1d790fa6856ef484e0e77a93b71aaea0750942 (diff)
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 <pbandzi@cisco.com>
-rw-r--r--testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt2
-rw-r--r--testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt2
-rw-r--r--testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt2
3 files changed, 3 insertions, 3 deletions
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