summaryrefslogtreecommitdiffstats
path: root/robot/resources/oof_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-05-03 15:55:40 -0400
committerDR695H <dr695h@att.com>2019-05-03 15:58:52 -0400
commitb1112914977269f9a0ac3d470cfe22a6ac68de46 (patch)
treebbe132f5887c0d2bc371968d93bf068342f5d94f /robot/resources/oof_interface.robot
parent09cabeab8d488e04cad120009f3a60be71b29ea3 (diff)
remove unneeded packages from setup
4 of them were needed by robotframework-onap and are now included as dependencies of the robotframework-onap package. the other one wasnt really needed in robot and is replaced with existing mechnaisms Change-Id: I8ac8c0df88b03de238626e4995090c7aa10e15f8 Issue-ID: TEST-145 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/oof_interface.robot')
-rw-r--r--robot/resources/oof_interface.robot4
1 files changed, 1 insertions, 3 deletions
diff --git a/robot/resources/oof_interface.robot b/robot/resources/oof_interface.robot
index 7d078ab3..49bc2920 100644
--- a/robot/resources/oof_interface.robot
+++ b/robot/resources/oof_interface.robot
@@ -1,6 +1,5 @@
*** Settings ***
Documentation The main interface for interacting with OOF: SNIRO and Homing Service
-Library json5
Library RequestsLibrary
Library UUID
Library String
@@ -50,8 +49,7 @@ RUN OOF-Homing SendPlanWithWrongVersion
Log *********************
Log response = ${resp}
Log body = ${resp.text}
- ${response_json} json5.Loads ${resp.content}
- ${generatedPlanId}= Convert To String ${response_json['id']}
+ ${generatedPlanId}= Convert To String ${${resp.json()['id']}['id']}
Set Global Variable ${generatedPlanId}
Log generatedPlanId = ${generatedPlanId}
Should Be Equal As Integers ${resp.status_code} 201