change expected response to 404 29/2629/1
authorPeter Bandzi <pbandzi@cisco.com>
Mon, 19 Oct 2015 14:15:47 +0000 (16:15 +0200)
committerPeter Bandzi <pbandzi@cisco.com>
Mon, 19 Oct 2015 14:18:14 +0000 (16:18 +0200)
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>
testcases/Controllers/ODL/CI/custom_tests/neutron/040__delete_ports.txt
testcases/Controllers/ODL/CI/custom_tests/neutron/050__delete_subnets.txt
testcases/Controllers/ODL/CI/custom_tests/neutron/060__delete_networks.txt

index 1fc3fc4..02c90c3 100644 (file)
@@ -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
index 3387863..4121c98 100644 (file)
@@ -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
index 106ac80..fc823fa 100644 (file)
@@ -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