From: Jamo Luhrsen Date: Wed, 20 Jan 2016 22:27:50 +0000 (-0800) Subject: using yang_json headers because data given to keyword is json obj X-Git-Tag: release/beryllium-sr1~195 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=689b70309cfd18db393de4ac6debbfd57fba0b6a using yang_json headers because data given to keyword is json obj the new RequestsLibrary has caused the current implementation to fail, so need to pass application/yang.data+json Change-Id: I2af801bf61218fa663e7c56ddb496ff230264331 Signed-off-by: Jamo Luhrsen --- diff --git a/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot b/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot index e15940e1f4..b3ad87f55b 100644 --- a/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot +++ b/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot @@ -19,7 +19,7 @@ Add Tenant to one node [Documentation] Add one Tenant from JSON file Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} ${jsonbody} Read JSON From File ${GBP_TENANT1_FILE} - Add Elements To URI From File ${GBP_TENANT1_API} ${GBP_TENANT1_FILE} + Add Elements To URI From File ${GBP_TENANT1_API} ${GBP_TENANT1_FILE} headers=${HEADERS_YANG_JSON} ${resp} RequestsLibrary.Get session ${GBP_TENANT1_API} Should Be Equal As Strings ${resp.status_code} 200 ${result} To JSON ${resp.content}