removing explicit header in RequestsLibrary.Put Request 62/33162/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 20 Jan 2016 22:02:02 +0000 (14:02 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 21 Jan 2016 19:34:20 +0000 (19:34 +0000)
the new library version deals with json differently than
before and broke this packetcable system test.  This will
make it work again

Change-Id: I64e21d17a5e4a3ddad1d70eb4ff59cf80bf25b32
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot

index daca11525362a24a79ed51cb30ebf9f908cda414..1fde4379caa46d76040f83a8a7da73bc3608132b 100644 (file)
@@ -24,7 +24,7 @@ Add CCAP
     ${Data}    Replace String    ${Data}    {ccapIp-1}    ${CCAP_IP1}
     log    ${Data}
     log    ${ODLREST_CCAPS}/${CCAP_TOKEN}/${CCAP_ID1}
-    ${resp}    RequestsLibrary.Put Request    ODLSession    ${ODLREST_CCAPS}/${CCAP_TOKEN}/${CCAP_ID1}    data=${Data}    headers=${HEADERS}
+    ${resp}    RequestsLibrary.Put Request    ODLSession    ${ODLREST_CCAPS}/${CCAP_TOKEN}/${CCAP_ID1}    data=${Data}
     Should be Equal As Strings    ${resp.status_code}    200
 
 Get CCAP
@@ -50,7 +50,7 @@ Add Multiple.CCAPs
     ${Data}    Replace String    ${Data}    {ccapId-2}    ${CCAP_ID2}
     ${Data}    Replace String    ${Data}    {ccapIp-2}    ${CCAP_IP2}
     log    ${Data}
-    ${resp}    RequestsLibrary.Put Request    ODLSession    ${ODLREST_CCAPS}    data=${Data}    headers=${HEADERS}
+    ${resp}    RequestsLibrary.Put Request    ODLSession    ${ODLREST_CCAPS}    data=${Data}
     Should be Equal As Strings    ${resp.status_code}    200
 
 Get ALL.CCAPs