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>
diff --git a/tests/policy/api/api-test.robot b/tests/policy/api/api-test.robot
index 959df40..3106078 100644
--- a/tests/policy/api/api-test.robot
+++ b/tests/policy/api/api-test.robot
@@ -61,7 +61,7 @@
      ${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