summaryrefslogtreecommitdiffstats
path: root/csit/tests/cps-model-sync
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-12-07 15:33:09 +0000
committerJvD_Ericsson <jeff.van.dam@est.tech>2023-12-12 10:37:19 +0000
commit14d37304d8b83efc099ba19d6f3e7d5d53fead29 (patch)
tree5aac3fa33056f1d85be4b77a0c2809862569dee5 /csit/tests/cps-model-sync
parent93f2c3ff203d78d8cddae7878d16fe2f55661655 (diff)
Clean up CSIT Test
- Removed gitignore from csit and made it top level - Removed tabs from all files - Created sub-folder for cps-core and ncmp in the data folder - Deleted csit/data/postModuleRequestBody.json, was not used - Removed setting variable for most response.json() calls Issue-Id: CPS-734 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I32fd5b4f5a0132987a4684c336846b86df7b49e7
Diffstat (limited to 'csit/tests/cps-model-sync')
-rw-r--r--csit/tests/cps-model-sync/cps-model-sync.robot3
1 files changed, 1 insertions, 2 deletions
diff --git a/csit/tests/cps-model-sync/cps-model-sync.robot b/csit/tests/cps-model-sync/cps-model-sync.robot
index 8554e26e9f..519c7a7270 100644
--- a/csit/tests/cps-model-sync/cps-model-sync.robot
+++ b/csit/tests/cps-model-sync/cps-model-sync.robot
@@ -80,9 +80,8 @@ Get modules for registered data node
${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo/modules
${headers}= Create Dictionary Authorization=${auth}
${response}= GET On Session CPS_URL ${uri} headers=${headers}
- ${responseJson}= Set Variable ${response.json()}
Should Be Equal As Strings ${response.status_code} 200
- FOR ${item} IN @{responseJson}
+ FOR ${item} IN @{response.json()}
IF "${item['moduleName']}" == "stores"
Should Be Equal As Strings "${item['revision']}" "2020-09-15"
END