From 9cc2315cb721da1c5b0eaf8ce9600a9419379782 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Mih=C3=A1lek?= Date: Mon, 13 Mar 2017 15:04:59 +0100 Subject: [PATCH] Convert arguments of CompareStream into String MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arguments that are parsed by CompareStream__Convert_Input are int type the whole KW will be marked as failure due to error "'int' object has no attribute 'replace'". Simple conversion of arguments to String will solve this issue. Change-Id: I547c445565713fe4e5bb575d3ee02550ca45fcbb Signed-off-by: Martin Mihálek --- csit/libraries/CompareStream.robot | 1 + 1 file changed, 1 insertion(+) diff --git a/csit/libraries/CompareStream.robot b/csit/libraries/CompareStream.robot index df880c4202..74fdd2aa5a 100644 --- a/csit/libraries/CompareStream.robot +++ b/csit/libraries/CompareStream.robot @@ -94,6 +94,7 @@ CompareStream__Convert_Input ${args} BuiltIn.Create_List ${kwargs} BuiltIn.Create_Dictionary : FOR ${arg} IN @{arguments} + \ ${arg} BuiltIn.Convert_To_String ${arg} \ ${removed} String.Remove_String ${arg} \n ${Space} \t \ ... \r \ ${splitted} BuiltIn.Run_Keyword_If "${removed[0]}" == "<" BuiltIn.Create List ${arg} -- 2.36.6