From 0ca56d1bc3ff43e8aca4c330283a01c6a422405a Mon Sep 17 00:00:00 2001 From: DR695H Date: Tue, 14 May 2019 11:48:20 -0400 Subject: 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 --- robot/resources/openstack/keystone_interface.robot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'robot/resources/openstack') 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"]} -- cgit 1.2.3-korg