Skip to content

Commit 5c26310

Browse files
committed
Minor adjusts to atests
- Trying to match log output across both Python 4.11 and 4.8 - Update expected line containinglog message
1 parent dcff890 commit 5c26310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atest/acceptance/create_webdriver.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Library Collections
77
Create Webdriver Creates Functioning WebDriver
88
[Documentation]
99
... LOG 1:1 INFO REGEXP: Creating an instance of the \\w+ WebDriver.
10-
... LOG 1:25 DEBUG REGEXP: Created \\w+ WebDriver instance with session id (\\w|-)+.
10+
... LOG 1:19 DEBUG REGEXP: Created \\w+ WebDriver instance with session id (\\w|-)+.
1111
[Tags] Known Issue Internet Explorer Known Issue Safari
1212
[Setup] Set Driver Variables
1313
Create Webdriver ${DRIVER_NAME} kwargs=${KWARGS}
@@ -30,7 +30,7 @@ Create Webdriver With Bad Keyword Argument Dictionary
3030
[Documentation] Invalid arguments types
3131
${status} ${error} = Run Keyword And Ignore Error Create Webdriver Firefox kwargs={'spam': 'eggs'}
3232
Should Be Equal ${status} FAIL
33-
Should Match Regexp ${error} (TypeError: WebDriver.__init__\\(\\) got an unexpected keyword argument 'spam'|kwargs must be a dictionary\.)
33+
Should Match Regexp ${error} (TypeError: (?:WebDriver.)__init__\\(\\) got an unexpected keyword argument 'spam'|kwargs must be a dictionary\.)
3434

3535
*** Keywords ***
3636
Set Driver Variables

0 commit comments

Comments
 (0)