From 3b6ccc031ab42d4ff6355c80ef3e9ca752c5a25a Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 20 Jun 2024 13:16:45 -0700 Subject: [PATCH] fix format? --- tests/app/main/views/test_index.py | 9 ++++++--- tests/end_to_end/test_landing_and_sign_in_pages.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 1e08cd606..154106250 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -19,9 +19,12 @@ def test_non_logged_in_user_can_see_homepage( "Reach people where they are with government-powered text messages" ) - assert page.select_one( - "a.usa-button.login-button.login-button--primary.margin-right-2" - ).text == "Sign in with \n" + assert ( + page.select_one( + "a.usa-button.login-button.login-button--primary.margin-right-2" + ).text + == "Sign in with \n" + ) assert page.select_one("meta[name=description]") is not None # This area is hidden for the pilot # assert normalize_spaces(page.select_one('#whos-using-notify').text) == ( diff --git a/tests/end_to_end/test_landing_and_sign_in_pages.py b/tests/end_to_end/test_landing_and_sign_in_pages.py index 513269f51..4dcab63a1 100644 --- a/tests/end_to_end/test_landing_and_sign_in_pages.py +++ b/tests/end_to_end/test_landing_and_sign_in_pages.py @@ -31,7 +31,7 @@ def test_landing_page(end_to_end_context): expect(benefits_studio_email).to_be_visible() # Check to make sure the sign-in button and email links are correct. - href_value = sign_in_button.get_attribute('href') + href_value = sign_in_button.get_attribute("href") assert href_value is not None, "The sign-in button does not have an href attribute" expect(benefits_studio_email).to_have_attribute( "href", "mailto:tts-benefits-studio@gsa.gov"