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 75952d0 commit aeee9c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/get_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from splinter import Browser
from splinter.config import Config

from .fake_webapp import EXAMPLE_APP
from .fake_webapp import app, EXAMPLE_APP


def get_browser(browser_name, config=None, **kwargs):
Expand Down Expand Up @@ -45,6 +45,7 @@ def get_browser(browser_name, config=None, **kwargs):
)

elif browser_name == "flask":
app = kwargs.pop('app', app)
return Browser("flask", **kwargs)

elif browser_name == "zope.testbrowser":
Expand Down

0 comments on commit aeee9c1

Please sign in to comment.