Skip to content

Commit 63be435

Browse files
committed
Temporarily removed inline flags for ignoring case on log statuschecker
Due to an conflict with statuschecker and startingwith Python 3.11, inline flags, like `(?i)`, must be at the front of the regex. But statuschecker (v3.0.1) inserts a match begining of line to the start, thus violating this rule. Discussion have been had over with the status checker project on possible changes. So in the mean time going to remove these from the log status check.
1 parent ced1630 commit 63be435

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

atest/acceptance/keywords/content_assertions.robot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Page Should Contain Using Default Custom Log Level
3333
... 'TRACE' - noting the excluded second argument for the `Page Should Contain`
3434
... keyword) fails and the log contains the html content.
3535
... FAIL Page should have contained text 'non existing text' but did not.
36-
... LOG 2:19 TRACE REGEXP: (?i)<html.*</html>
36+
... LOG 2:19 TRACE REGEXP: <html.*</html>
3737
... LOG 2:20 FAIL Page should have contained text 'non existing text' but did not.
3838
${old_level}= Set Log Level TRACE
3939
Page Should Contain non existing text
@@ -53,31 +53,31 @@ Page Should Contain With Custom Log Level INFO
5353
[Tags] NoGrid
5454
[Documentation] Html content is shown at the explicitly specified INFO level.
5555
... FAIL Page should have contained text 'non existing text' but did not.
56-
... LOG 1:18 INFO REGEXP: (?i)<html.*</html>
56+
... LOG 1:18 INFO REGEXP: <html.*</html>
5757
... LOG 1:19 FAIL Page should have contained text 'non existing text' but did not.
5858
Page Should Contain non existing text INFO
5959

6060
Page Should Contain With Custom Log Level WARN
6161
[Tags] NoGrid
6262
[Documentation] Html content is shown at the explicitly specified WARN level.
6363
... FAIL Page should have contained text 'non existing text' but did not.
64-
... LOG 1:18 WARN REGEXP: (?i)<html.*</html>
64+
... LOG 1:18 WARN REGEXP: <html.*</html>
6565
... LOG 1:19 FAIL Page should have contained text 'non existing text' but did not.
6666
Page Should Contain non existing text WARN
6767

6868
Page Should Contain With Custom Log Level DEBUG
6969
[Tags] NoGrid
7070
[Documentation] Html content is shown at the explicitly specified DEBUG level.
7171
... FAIL Page should have contained text 'non existing text' but did not.
72-
... LOG 1:18 DEBUG REGEXP: (?i)<html.*</html>
72+
... LOG 1:18 DEBUG REGEXP: <html.*</html>
7373
... LOG 1:19 FAIL Page should have contained text 'non existing text' but did not.
7474
Page Should Contain non existing text DEBUG
7575

7676
Page Should Contain With Custom Log Level TRACE
7777
[Tags] NoGrid
7878
[Documentation] Html content is shown at the explicitly specified TRACE level.
7979
... FAIL Page should have contained text 'non existing text' but did not.
80-
... LOG 2:19 TRACE REGEXP: (?i)<html.*</html>
80+
... LOG 2:19 TRACE REGEXP: <html.*</html>
8181
... LOG 2:20 FAIL Page should have contained text 'non existing text' but did not.
8282
Set Log Level TRACE
8383
Page Should Contain non existing text TRACE
@@ -122,7 +122,7 @@ Page Should Not Contain
122122

123123
Page Should Not Contain With Custom Log Level
124124
[Tags] NoGrid
125-
[Documentation] LOG 1.1:13 DEBUG REGEXP: (?i)<html.*</html>
125+
[Documentation] LOG 1.1:13 DEBUG REGEXP: <html.*</html>
126126
Run Keyword And Expect Error
127127
... Page should not have contained text 'needle'.
128128
... Page Should Not Contain needle DEBUG

0 commit comments

Comments
 (0)