From: Jamo Luhrsen Date: Wed, 20 Jan 2016 22:02:02 +0000 (-0800) Subject: removing explicit header in RequestsLibrary.Put Request X-Git-Tag: release/beryllium-sr1~199 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=933b892b93a89672e621be987a3cea52d4599175 removing explicit header in RequestsLibrary.Put Request 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 --- diff --git a/csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot b/csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot index daca115253..1fde4379ca 100644 --- a/csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot +++ b/csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot @@ -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