Fix "SyntaxError: EOL while scanning string literal" 80/34880/1
authorJozef Behran <jbehran@cisco.com>
Thu, 18 Feb 2016 08:52:16 +0000 (09:52 +0100)
committerJozef Behran <jbehran@cisco.com>
Thu, 18 Feb 2016 08:52:16 +0000 (09:52 +0100)
Change-Id: Ib4bc03e5edc2221274cde3a278c986317ac4e732
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/Utils.robot

index 038989d4454a17ae8152bd6837c6c804ba56e542..919da36a04d5850d5b6e44eac767741dbcc5ba0c 100644 (file)
@@ -70,7 +70,7 @@ Report_Failure_Due_To_Bug
     ...    or as the first line of the test if FastFail module is not being
     ...    used. It reports the URL of the bug on console and also puts it
     ...    into the Robot log file.
-    ${test_skipped}=    BuiltIn.Evaluate    len(re.findall('SKIPPED', '''${TEST_MESSAGE}''')) > 0    modules=re
+    ${test_skipped}=    BuiltIn.Evaluate    len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) > 0    modules=re
     BuiltIn.Return From Keyword If    ('${TEST_STATUS}' != 'FAIL') or ${test_skipped}
     ${newline}=    BuiltIn.Evaluate    chr(10)
     ${msg}=    BuiltIn.Set_Variable    This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=${number}