summaryrefslogtreecommitdiffstats
path: root/csit/tests/cm-handle-query/cm-handle-query.robot
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-01-11 14:25:42 +0000
committerGerrit Code Review <gerrit@onap.org>2024-01-11 14:25:42 +0000
commit65700dea9c6d8332c27ad649566ee817e479fe0b (patch)
tree803f87df3c816b8027f57a5ac1ebedb8c2df0b01 /csit/tests/cm-handle-query/cm-handle-query.robot
parent37c6d4dfd45afda49042da455f3bcb572dbad7a2 (diff)
parent02d8bf8c8a3469f75ef841c9d8c72349c51f3330 (diff)
Merge "Improve dmi plugin csit stub - Modified dmi plugin stub to return diff. modules based on cm handle id"
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, 3 insertions, 3 deletions
diff --git a/csit/tests/cm-handle-query/cm-handle-query.robot b/csit/tests/cm-handle-query/cm-handle-query.robot
index 4941cde077..a16446a743 100644
--- a/csit/tests/cm-handle-query/cm-handle-query.robot
+++ b/csit/tests/cm-handle-query/cm-handle-query.robot
@@ -1,6 +1,6 @@
/*
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Nordix Foundation
+ * Copyright (C) 2022-2024 Nordix Foundation
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,14 +42,14 @@ Retrieve CM Handle ids where query parameters Match (module and property query)
${headers}= Create Dictionary Content-Type=application/json Authorization=${auth}
${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonModuleAndPropertyQueryParameters}
Should Be Equal As Strings ${response.status_code} 200
- Should Contain ${response.json()} PNFDemo
+ Should Contain ${response.json()} ietfYang-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}
Should Be Equal As Strings ${response.status_code} 200
- Should Contain ${response.json()} PNFDemo
+ Should Contain ${response.json()} ietfYang-PNFDemo
Throw 400 when Structure of Request is Incorrect
${uri}= Set Variable ${ncmpBasePath}/ch/id-searches