diff options
author | Marco Platania <platania@research.att.com> | 2020-03-25 15:38:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-25 15:38:48 +0000 |
commit | 513ee3f14abd1fcbb68836d0be5dea18602241f4 (patch) | |
tree | 6444295811dacdb1b739cb026db34847c9bf1cca /tests | |
parent | 600c447f6c9f63544e61931ceafc35390bda7313 (diff) | |
parent | c59a09a12db7d66547d85383b144093e96313704 (diff) |
Merge "Update the release version for OOF csit"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/optf-osdf/osdf/optf_osdf_test.robot | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/optf-osdf/osdf/optf_osdf_test.robot b/tests/optf-osdf/osdf/optf_osdf_test.robot index c3921d5c..79a5750e 100644 --- a/tests/optf-osdf/osdf/optf_osdf_test.robot +++ b/tests/optf-osdf/osdf/optf_osdf_test.robot @@ -33,14 +33,14 @@ SendPlacementWithValidAuth Should Be Equal As Integers ${resp.status_code} 202 Should Be Equal accepted ${response_json['requestStatus']} -#SendPCIOptimizationWithAuth -# [Documentation] It sends a POST request PCI Optimization service -# -# ${data}= Get Binary File ${CURDIR}${/}data${/}pci-opt-request.json -# ${resp}= Http Post host=${osdf_host} restUrl=/api/oof/v1/pci data=${data} auth=${pci_auth} -# ${response_json} json.loads ${resp.content} -# Should Be Equal As Integers ${resp.status_code} 202 -# Should Be Equal accepted ${response_json['requestStatus']} +SendPCIOptimizationWithAuth + [Documentation] It sends a POST request PCI Optimization service + + ${data}= Get Binary File ${CURDIR}${/}data${/}pci-opt-request.json + ${resp}= Http Post host=${osdf_host} restUrl=/api/oof/v1/pci data=${data} auth=${pci_auth} + ${response_json} json.loads ${resp.content} + Should Be Equal As Integers ${resp.status_code} 202 + Should Be Equal accepted ${response_json['requestStatus']} |