using yang_json headers because data given to keyword is json obj 65/33165/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 20 Jan 2016 22:27:50 +0000 (14:27 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 25 Jan 2016 12:02:25 +0000 (12:02 +0000)
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 <jluhrsen@redhat.com>
csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot

index e15940e1f48fb21961d875a30085c4479e1d748f..b3ad87f55b92fc7f9d626f64b233d5649bd50b83 100644 (file)
@@ -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}