X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fpolicy%2Fpap%2Fpap-test.robot;h=3e8bc2115527cbd746f5f6930171e009b16ab63e;hb=09148c800bf7ca61ac2f96e005511753d4237aa0;hp=5387e85fc5626648c6386f47d2d2aee43254a31a;hpb=17bd0431d70dcf80d0de81f64bc1fec387effa31;p=integration%2Fcsit.git diff --git a/tests/policy/pap/pap-test.robot b/tests/policy/pap/pap-test.robot index 5387e85f..3e8bc211 100644 --- a/tests/policy/pap/pap-test.robot +++ b/tests/policy/pap/pap-test.robot @@ -11,7 +11,7 @@ LoadPolicy Log Creating session https://${POLICY_API_IP}:6969 ${session}= Create Session policy https://${POLICY_API_IP}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json - ${postjson}= Get file ${CURDIR}/data/vCPE.policy.monitoring.input.tosca.json + ${postjson}= Get file ${DATA}/vCPE.policy.monitoring.input.tosca.json ${resp}= Post Request policy /policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies data=${postjson} headers=${headers} Log Received response from API ${resp.text} Should Be Equal As Strings ${resp.status_code} 200