aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-02-18 16:10:23 -0500
committerJim Hahn <jrh3@att.com>2021-02-18 16:11:10 -0500
commitcd8c7690c302973da1811be81a5453aef7469c10 (patch)
tree5c112327ed18818e3b625c0f84b9ae90a8461c40
parentf7674432acc22a4c80967bd27d0c576cef6daa98 (diff)
Update PAP CSIT to check 202 response
Issue-ID: POLICY-2526 Change-Id: I3f4e1289fb4c8aeb4833d3e76b473cf36f907783 Signed-off-by: Jim Hahn <jrh3@att.com>
-rw-r--r--csit/tests/pap-test.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/tests/pap-test.robot b/csit/tests/pap-test.robot
index 3e8bc211..d0837fa9 100644
--- a/csit/tests/pap-test.robot
+++ b/csit/tests/pap-test.robot
@@ -81,7 +81,7 @@ DeployPdpGroups
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= Post Request policy /policy/pap/v1/pdps/deployments/batch data=${postjson} headers=${headers}
Log Received response from policy ${resp.text}
- Should Be Equal As Strings ${resp.status_code} 200
+ Should Be Equal As Strings ${resp.status_code} 202
UndeployPolicy
[Documentation] Runs Policy PAP Undeploy a Policy from PDP Groups
@@ -91,7 +91,7 @@ UndeployPolicy
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= Delete Request policy /policy/pap/v1/pdps/policies/onap.restart.tca headers=${headers}
Log Received response from policy ${resp.text}
- Should Be Equal As Strings ${resp.status_code} 200
+ Should Be Equal As Strings ${resp.status_code} 202
QueryPdpGroupsAfterUndeploy
[Documentation] Runs Policy PAP Query PDP Groups after Undeploy