diff --git a/tests/app/main/views/service_settings/test_service_settings.py b/tests/app/main/views/service_settings/test_service_settings.py index d7155f709..6c4e42fac 100644 --- a/tests/app/main/views/service_settings/test_service_settings.py +++ b/tests/app/main/views/service_settings/test_service_settings.py @@ -488,7 +488,9 @@ def test_show_switch_service_to_count_as_live_page( # Extract label text and see if it matches the expected label label_texts = [label.text.strip() for label in labels] - assert labelled in label_texts, f"Expected label '{labelled}' not found. Found labels: {label_texts}" + assert ( + labelled in label_texts + ), f"Expected label '{labelled}' not found. Found labels: {label_texts}" @pytest.mark.parametrize( diff --git a/tests/app/main/views/test_activity.py b/tests/app/main/views/test_activity.py index 02bed98fa..753931ce5 100644 --- a/tests/app/main/views/test_activity.py +++ b/tests/app/main/views/test_activity.py @@ -388,7 +388,10 @@ def test_search_recipient_form( query_dict = parse_qs(url.query) assert query_dict == {} - assert page.select_one("label:contains('Search by')").text.strip() == expected_search_box_label + assert ( + page.select_one("label:contains('Search by')").text.strip() + == expected_search_box_label + ) recipient_inputs = page.select("input[name=to]") assert len(recipient_inputs) == 2 @@ -421,7 +424,10 @@ def test_api_users_are_told_they_can_search_by_reference_when_service_has_api_ke service_id=SERVICE_ONE_ID, message_type=message_type, ) - assert page.select_one("label:contains('Search by')").text.strip() == expected_search_box_label + assert ( + page.select_one("label:contains('Search by')").text.strip() + == expected_search_box_label + ) @pytest.mark.parametrize( @@ -449,7 +455,10 @@ def test_api_users_are_not_told_they_can_search_by_reference_when_service_has_no message_type=message_type, ) - assert page.select_one("label:contains('Search by')").text.strip() == expected_search_box_label + assert ( + page.select_one("label:contains('Search by')").text.strip() + == expected_search_box_label + ) def test_should_show_notifications_for_a_service_with_next_previous( diff --git a/tests/app/test_navigation.py b/tests/app/test_navigation.py index 3faad1d3c..4e9ef54c0 100644 --- a/tests/app/test_navigation.py +++ b/tests/app/test_navigation.py @@ -122,7 +122,6 @@ EXCLUDED_ENDPOINTS = tuple( "integration_testing", "invite_org_user", "invite_user", - "join_notify", "link_service_to_organization", "live_services", "live_services_csv", 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 3741a3a19..4686876d4 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 @@ -40,7 +40,6 @@ def test_landing_page(end_to_end_context): content_headers = [ "Government texting made easy", "Key features", - "Who can use Notify.gov", ] for content_header in content_headers: