aboutsummaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-02-14 10:56:35 +0000
committerRenu Kumari <renu.kumari@bell.ca>2022-02-17 17:19:09 +0000
commitebfa4077b2e462237301e93566fed6ef2f56674c (patch)
treeee235c331884988bd34d008cc9c7f15729b1c615 /csit
parenta15c0e5b58f16c3ab4a7c7610ac8c4a191e5e051 (diff)
Align JSON DataNode for Get and Post/Put API in CPS
Issue-ID: CPS-865 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I60b1f9c94e79bdd66d60fe6a68f5fc4adc718d35
Diffstat (limited to 'csit')
-rw-r--r--csit/tests/cps-data/cps-data.robot3
1 files changed, 2 insertions, 1 deletions
diff --git a/csit/tests/cps-data/cps-data.robot b/csit/tests/cps-data/cps-data.robot
index 1c48e00691..55667c3c12 100644
--- a/csit/tests/cps-data/cps-data.robot
+++ b/csit/tests/cps-data/cps-data.robot
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright (c) 2021 Pantheon.tech.
+# Modifications Copyright (C) 2022 Bell Canada.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -45,7 +46,7 @@ Get Data Node by XPath
${params}= Create Dictionary xpath=/test-tree/branch[@name='Left']/nest
${headers}= Create Dictionary Authorization=${auth}
${response}= Get On Session CPS_URL ${uri} params=${params} headers=${headers} expected_status=200
- ${responseJson}= Set Variable ${response.json()}
+ ${responseJson}= Set Variable ${response.json()['nest']}
Should Be Equal As Strings ${responseJson['name']} Small