From: Luis Gomez Date: Tue, 5 Mar 2019 01:25:04 +0000 (-0800) Subject: Fix Robot evaluate X-Git-Tag: pre-potassium~362 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=99536236de83d87f80a13635b71d22a7b516b104;hp=d4623a9bbeac085e6f854664d1514aff35ce460a Fix Robot evaluate It seems like latest robot version changes the way python dictionary is evaluated. Change-Id: I34b72190bb4f7d09aedf1cb1d46b4ec65b247164 Signed-off-by: Luis Gomez --- diff --git a/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot b/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot index 1db8fd1419..d7e19da6f2 100644 --- a/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot +++ b/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot @@ -130,7 +130,7 @@ Get_Cars_Count [Arguments] ${session} [Documentation] Count car items in config ds. ${resp}= RequestsLibrary.Get_Request ${session} ${CARURL} - ${count} = BuiltIn.Evaluate len(${resp.json()}["cars"]["car-entry"]) + ${count} = BuiltIn.Evaluate len(${resp.json()}[cars][car-entry]) BuiltIn.Return_From_Keyword ${count} Ensure_Cars_Being_Configured