Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler committed Jun 9, 2024
1 parent fed09b9 commit ee167c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/get_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def get_browser(browser_name, config=None, **kwargs):
)

elif browser_name == "flask":
return Browser("flask", app=app, wait_time=0.1, **kwargs)
return Browser("flask", app=app, **kwargs)

elif browser_name == "zope.testbrowser":
return Browser("zope.testbrowser", wait_time=0.1, **kwargs)
return Browser("zope.testbrowser", **kwargs)

elif browser_name == "edge":
# Github Actions Windows EdgeDriver path
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flaskclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def setup_browser(self, request):
"X-Splinter-Customheaders-1": "Hello",
"X-Splinter-Customheaders-2": "Bye",
}
request.cls.browser = get_browser("flask", app=app, custom_headers=custom_headers)
request.cls.browser = get_browser("flask", app=app, wait_time=0.1, custom_headers=custom_headers)
request.addfinalizer(request.cls.browser.quit)

def test_create_a_flask_client_with_custom_headers(self):
Expand Down

0 comments on commit ee167c4

Please sign in to comment.