aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-09-09 13:59:23 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-09-09 14:26:11 -0500
commit9d5fb225cbc57680ca80b54e5f2501f55b4acb46 (patch)
tree998e6c432a19b3052b290973f9d54600dd9562da /tests
parent2455d20794f872f83b57c395aa0ecc094bf98f36 (diff)
robot access to list instead of map
Issue-ID: POLICY-2063 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4fdff6f2d95af87e36108412a92e8f2936d7f6fd Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/policy/api/api-test.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/policy/api/api-test.robot b/tests/policy/api/api-test.robot
index 959df40e..31060785 100644
--- a/tests/policy/api/api-test.robot
+++ b/tests/policy/api/api-test.robot
@@ -61,7 +61,7 @@ RetrieveMonitoringPolicyTypes
${resp}= Get Request policy /policy/api/v1/policytypes/onap.policies.Monitoring headers=${headers}
Log Received response from policy ${resp.text}
Should Be Equal As Strings ${resp.status_code} 200
- Dictionary Should Contain Key ${resp.json()['policy_types'][0]} onap.policies.Monitoring
+ List Should Contain Value ${resp.json()['policy_types']} onap.policies.Monitoring
CreateNewMonitoringPolicy