aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/mso_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2018-02-23 18:33:19 -0500
committerDR695H <dr695h@att.com>2018-02-23 18:33:50 -0500
commitb034c28362f0c5a4a3833594c6c914ad5d0fa589 (patch)
tree834b17139cdf722483047b30e1bf6f10ab46723a /robot/resources/mso_interface.robot
parent9ef72865064955d36acfdd7d08bfb9c1cb409806 (diff)
cleaning up some dirty code and warnings from RED
Issue-ID: TEST-79 Change-Id: Iadfe17079c4cf1aa4483464c748d2ab31244df63 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/mso_interface.robot')
-rw-r--r--robot/resources/mso_interface.robot6
1 files changed, 1 insertions, 5 deletions
diff --git a/robot/resources/mso_interface.robot b/robot/resources/mso_interface.robot
index db776d4d..49965c89 100644
--- a/robot/resources/mso_interface.robot
+++ b/robot/resources/mso_interface.robot
@@ -66,15 +66,11 @@ Run MSO Post request
Run MSO Delete request
[Documentation] Runs an MSO Delete request
[Arguments] ${data_path} ${data}
- sleep 2
${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
Log Creating session ${MSO_ENDPOINT}
${session}= Create Session mso ${MSO_ENDPOINT} auth=${auth}
${uuid}= Generate UUID
${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
- log ${data}
- ${data1} Encode String ${data}
- log ${data1}
- ${resp}= Delete Request mso ${data_path} ${data1} headers=${headers}
+ ${resp}= Delete Request mso ${data_path} ${data} headers=${headers}
Log Received response from mso ${resp.text}
[Return] ${resp}