From 689b70309cfd18db393de4ac6debbfd57fba0b6a Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Wed, 20 Jan 2016 14:27:50 -0800 Subject: [PATCH] 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 --- .../Clustering_Datastore/020_simple_clustering.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.36.6