diff options
author | DR695H <dr695h@att.com> | 2019-05-14 11:48:20 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-05-14 11:51:57 -0400 |
commit | 0ca56d1bc3ff43e8aca4c330283a01c6a422405a (patch) | |
tree | df3c495769b59e93588557e2bb4e0746d3df3715 /robot/resources/openstack | |
parent | a9107a734e443c257a114812fb830a3628808efb (diff) |
remove unneeded libraries
httplibrary is replicated with requests so replacing the few places that
use it with the requests. also removing kafkalibrary since it isnt used
and we dont want to use it since its not python 3 compatible.
Change-Id: I4acd09e4f0f776ebf99f386d17637712551b3243
Issue-ID: TEST-155
Signed-off-by: DR695H <dr695h@att.com>
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"]} |