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
diff --git a/csit/tests/cps-admin/cps-admin.robot b/csit/tests/cps-admin/cps-admin.robot
index a075788..cf7a90c 100644
--- a/csit/tests/cps-admin/cps-admin.robot
+++ b/csit/tests/cps-admin/cps-admin.robot
@@ -46,7 +46,7 @@
Create Schema Set from YANG file
${uri}= Set Variable ${basePath}/v1/dataspaces/${dataspaceName}/schema-sets
${params}= Create Dictionary schema-set-name=${schemaSetName}
- ${fileData}= Get Binary File ${DATADIR}${/}test-tree.yang
+ ${fileData}= Get Binary File ${DATADIR_CPS_CORE}${/}test-tree.yang
${fileTuple}= Create List test.yang ${fileData} application/zip
&{files}= Create Dictionary file=${fileTuple}
${headers}= Create Dictionary Authorization=${auth}
@@ -56,7 +56,7 @@
Create Schema Set from ZIP file
${uri}= Set Variable ${basePath}/v1/dataspaces/${dataspaceName}/schema-sets
${params}= Create Dictionary schema-set-name=ZipTestSchemaSet
- ${fileData}= Get Binary File ${DATADIR}${/}yang-resources.zip
+ ${fileData}= Get Binary File ${DATADIR_CPS_CORE}${/}yang-resources.zip
${fileTuple}= Create List test.zip ${fileData} application/zip
&{files}= Create Dictionary file=${fileTuple}
${headers}= Create Dictionary Authorization=${auth}