From 933b892b93a89672e621be987a3cea52d4599175 Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Wed, 20 Jan 2016 14:02:02 -0800 Subject: [PATCH] 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 --- csit/suites/packetcable/PCMM/010__pcmm_rest_call.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.36.6