Fix relative path issue in custom test 92/692/2
authorPeter Bandzi <pbandzi@cisco.com>
Fri, 29 May 2015 12:44:38 +0000 (14:44 +0200)
committerPeter Bandzi <pbandzi@cisco.com>
Fri, 29 May 2015 12:50:40 +0000 (14:50 +0200)
Plus changed expected response from 404 to 204.
Current response from ODL is 404 but it is because
network,subnet,port are not deleted in ODL.
It is ODL bug and response should be 204.

JIRA: FUNCTEST-5

Change-Id: I1a6ed78355b697b455d089e51007900c5ba721a6
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 ec9d8c4..1fc3fc4 100644 (file)
@@ -5,9 +5,9 @@ Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
 Library           OperatingSystem
-Library           ../integration/test/csit/libraries/RequestsLibrary.py
-Library           ../integration/test/csit/libraries/Common.py
-Variables         ../integration/test/csit/variables/Variables.py
+Library           ../../../libraries/RequestsLibrary.py
+Library           ../../../libraries/Common.py
+Variables         ../../../variables/Variables.py
 
 *** Variables ***
 ${ODLREST}       /controller/nb/v2/neutron/ports
@@ -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}     404
+        Should be Equal As Strings     ${resp.status_code}     204
index 943fe31..3387863 100644 (file)
@@ -5,9 +5,9 @@ Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
 Library           OperatingSystem
-Library           ../integration/test/csit/libraries/RequestsLibrary.py
-Library           ../integration/test/csit/libraries/Common.py
-Variables         ../integration/test/csit/variables/Variables.py
+Library           ../../../libraries/RequestsLibrary.py
+Library           ../../../libraries/Common.py
+Variables         ../../../variables/Variables.py
 
 *** Variables ***
 ${ODLREST}       /controller/nb/v2/neutron/subnets
@@ -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}     404
+        Should be Equal As Strings     ${resp.status_code}     204
index f486af1..106ac80 100644 (file)
@@ -5,9 +5,9 @@ Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
 Library           OperatingSystem
-Library           ../integration/test/csit/libraries/RequestsLibrary.py
-Library           ../integration/test/csit/libraries/Common.py
-Variables         ../integration/test/csit/variables/Variables.py
+Library           ../../../libraries/RequestsLibrary.py
+Library           ../../../libraries/Common.py
+Variables         ../../../variables/Variables.py
 
 *** Variables ***
 ${ODLREST}       /controller/nb/v2/neutron/networks
@@ -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}     404
+        Should be Equal As Strings     ${resp.status_code}     204