diff options
Diffstat (limited to 'robot/resources/openstack')
-rw-r--r-- | robot/resources/openstack/keystone_interface.robot | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/robot/resources/openstack/keystone_interface.robot b/robot/resources/openstack/keystone_interface.robot index 03e94bb0..3fe13c71 100644 --- a/robot/resources/openstack/keystone_interface.robot +++ b/robot/resources/openstack/keystone_interface.robot @@ -7,7 +7,6 @@ Library UUID Library Collections Library OperatingSystem Library String -Library HttpLibrary.HTTP Resource ../global_properties.robot Resource ../json_templater.robot Resource openstack_common.robot @@ -54,8 +53,7 @@ Get KeystoneAPIVersion ${resp}= Get Request keystone / headers=${headers} Log Received response from keystone ${resp.text} Should Be Equal As Strings ${resp.status_code} 300 - ${json}= Parse Json ${resp.content} - ${versions}= Get From Dictionary ${json} versions + ${versions}= Get From Dictionary ${resp.json()} versions ${values}= Get From Dictionary ${versions} values :FOR ${value} IN @{values} \ ${status}= Get Variable Value ${value["status"]} |