summaryrefslogtreecommitdiffstats
path: root/csit/tests/cm-handle-query/cm-handle-query.robot
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-12-13 09:56:49 +0000
committerGerrit Code Review <gerrit@onap.org>2023-12-13 09:56:49 +0000
commit7e94b26a666907cc97d692b8dda8364bb0a0ef45 (patch)
tree6ca90a5d54d5a53c16ab32a6f097d412dac2c0c1 /csit/tests/cm-handle-query/cm-handle-query.robot
parenta72a36a338b8c6901e02742af8766baea57b0428 (diff)
parent14d37304d8b83efc099ba19d6f3e7d5d53fead29 (diff)
Merge "Clean up CSIT Test"
Diffstat (limited to 'csit/tests/cm-handle-query/cm-handle-query.robot')
-rw-r--r--csit/tests/cm-handle-query/cm-handle-query.robot6
1 files changed, 2 insertions, 4 deletions
diff --git a/csit/tests/cm-handle-query/cm-handle-query.robot b/csit/tests/cm-handle-query/cm-handle-query.robot
index 3adc25362c..4941cde077 100644
--- a/csit/tests/cm-handle-query/cm-handle-query.robot
+++ b/csit/tests/cm-handle-query/cm-handle-query.robot
@@ -41,17 +41,15 @@ Retrieve CM Handle ids where query parameters Match (module and property query)
${uri}= Set Variable ${ncmpBasePath}/ch/id-searches
${headers}= Create Dictionary Content-Type=application/json Authorization=${auth}
${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonModuleAndPropertyQueryParameters}
- ${responseJson}= Set Variable ${response.json()}
Should Be Equal As Strings ${response.status_code} 200
- Should Contain ${responseJson} PNFDemo
+ Should Contain ${response.json()} PNFDemo
Retrieve CM Handle ids where query parameters Match (empty query)
${uri}= Set Variable ${ncmpBasePath}/ch/id-searches
${headers}= Create Dictionary Content-Type=application/json Authorization=${auth}
${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonEmptyQueryParameters}
- ${responseJson}= Set Variable ${response.json()}
Should Be Equal As Strings ${response.status_code} 200
- Should Contain ${responseJson} PNFDemo
+ Should Contain ${response.json()} PNFDemo
Throw 400 when Structure of Request is Incorrect
${uri}= Set Variable ${ncmpBasePath}/ch/id-searches