Fix Get On Session errors
[integration/test.git] / csit / libraries / SubStrings.robot
index ef291b1afd111265a462be8550289238e1de6ee2..1fcdbee33efbfed151b1aa6172d6e72ac1f9a26d 100644 (file)
@@ -1,15 +1,18 @@
 *** Settings ***
-Documentation     Utility keywords for verification of substring occurrence
+Documentation       Utility keywords for verification of substring occurrence
+
 
 *** Keywords ***
 Should Contain All Sub Strings
-    [Arguments]    ${attr}    @{checked}
     [Documentation]    Passes if ${attr} includes all substrings from @{checked}, fails otherwise
-    : FOR    ${item}    IN    @{checked}
-    \    Should Contain    ${attr}    ${item}
+    [Arguments]    ${attr}    @{checked}
+    FOR    ${item}    IN    @{checked}
+        Should Contain    ${attr}    ${item}
+    END
 
 Should Not Contain Any Sub Strings
-    [Arguments]    ${attr}    @{checked}
     [Documentation]    Fails if ${attr} includes at least one substring from @{checked}, passes otherwise
-    : FOR    ${item}    IN    @{checked}
-    \    Should Not Contain    ${attr}    ${item}
+    [Arguments]    ${attr}    @{checked}
+    FOR    ${item}    IN    @{checked}
+        Should Not Contain    ${attr}    ${item}
+    END