X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FUtils.robot;h=e653ae431e303e60eaf732de71aacfb32da4201e;hb=5ef187acfb66c718196254b2f3ed5847b0782b50;hp=712f936e87f5899b7088b7ba35abe93ef8936b89;hpb=bd724bb5cdaf76f643ee77fe0edeb3b4e5ed10ea;p=integration%2Ftest.git diff --git a/csit/libraries/Utils.robot b/csit/libraries/Utils.robot index 712f936e87..e653ae431e 100644 --- a/csit/libraries/Utils.robot +++ b/csit/libraries/Utils.robot @@ -399,7 +399,7 @@ Get Index From List Of Dictionaries ${index}= Set Variable -1 : FOR ${i} IN RANGE ${length} \ ${dictionary}= Get From List ${dictionary_list} ${i} - \ Run Keyword If '&{dictionary}[${key}]' == '${value}' Set Test Variable ${index} ${i} + \ Run Keyword If """&{dictionary}[${key}]""" == """${value}""" Set Test Variable ${index} ${i} [Return] ${index} Check Item Occurrence