it's ruff out there

This commit is contained in:
Khaleel Al-Adhami 2025-02-04 11:48:52 -08:00
parent b0685c12c0
commit 8a7116a9b0

View File

@ -119,9 +119,7 @@ def has_cloud_banner(driver: WebDriver) -> bool:
True if the banner is displayed, False otherwise.
"""
try:
driver.find_element(
By.XPATH, "//*[ contains(text(), 'This app is paused') ]"
)
driver.find_element(By.XPATH, "//*[ contains(text(), 'This app is paused') ]")
except NoSuchElementException:
return False
else: