remove unneeded packages from setup 28/86928/1
authorDR695H <dr695h@att.com>
Fri, 3 May 2019 19:55:40 +0000 (15:55 -0400)
committerDR695H <dr695h@att.com>
Fri, 3 May 2019 19:58:52 +0000 (15:58 -0400)
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>
robot/resources/oof_interface.robot
setup.sh

index 7d078ab..49bc292 100644 (file)
@@ -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
index 55a422e..0b77a93 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -18,7 +18,6 @@ pip install \
 --exists-action s \
 --target="$path/robot/library" \
 'selenium<=3.0.0' \
-'requests==2.11.1' \
 'robotframework-selenium2library==1.8.0' \
 'robotframework-databaselibrary==0.8.1' \
 'robotframework-extendedselenium2library==0.9.1' \
@@ -27,12 +26,8 @@ pip install \
 'robotframework-sudslibrary==0.8' \
 'robotframework-ftplibrary==1.3' \
 'robotframework-rammbock==0.4.0.1' \
-'deepdiff==2.5.1' \
-'dnspython==1.15.0' \
 'robotframework-httplibrary==0.4.2' \
 'robotframework-archivelibrary==0.3.2' \
-'PyYAML==3.12' \
-'json5==0.7.0' \
 'robotframework-kafkalibrary==0.0.2'