From 8a7116a9b0a1c00d94680934a4b8bc1ab2639bf0 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Tue, 4 Feb 2025 11:48:52 -0800 Subject: [PATCH] it's ruff out there --- tests/integration/test_connection_banner.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/integration/test_connection_banner.py b/tests/integration/test_connection_banner.py index 678fad777..bfc9ea0ae 100644 --- a/tests/integration/test_connection_banner.py +++ b/tests/integration/test_connection_banner.py @@ -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: