Skip to content

Commit

Permalink
STYLE: fix pylint in GivenPage
Browse files Browse the repository at this point in the history
  • Loading branch information
yashaka committed Jul 9, 2024
1 parent 8d7fa83 commit 5c65c3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/integration/helpers/givenpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ def load_in(self, driver_or_browser: WebDriver | Browser):
if isinstance(driver_or_browser, Browser)
else driver_or_browser
)
(
if isinstance(driver_or_browser, Browser):
driver_or_browser.open(EMPTY_PAGE_URL)
if isinstance(driver_or_browser, Browser)
else driver.get(EMPTY_PAGE_URL)
)
else:
driver.get(EMPTY_PAGE_URL)
return LoadedHtmlPage(driver).render_body(self._body, self._timeout)


Expand Down

0 comments on commit 5c65c3e

Please sign in to comment.