This commit is contained in:
Kenneth Kehl
2023-12-15 07:20:34 -08:00
parent 72a2cf554a
commit bc32c62dc6
3 changed files with 6 additions and 4 deletions

View File

@@ -15,7 +15,9 @@ def test_non_logged_in_user_can_see_homepage(
client_request.logout()
page = client_request.get("main.index", _test_page_title=False)
assert page.h1.text.strip() == ("Reach people where they are with government-powered text messages")
assert page.h1.text.strip() == (
"Reach people where they are with government-powered text messages"
)
assert page.select_one("a.usa-button.usa-button--big")["href"] == url_for(
"main.sign_in",

View File

@@ -632,7 +632,7 @@ def test_should_show_sms_template_with_downgraded_unicode_characters(
fake_uuid,
):
msg = "here:\tare some “fancy quotes” and zero\u200Bwidth\u200Bspaces"
rendered_msg = 'here: are some “fancy quotes” and zerowidthspaces'
rendered_msg = "here: are some “fancy quotes” and zerowidthspaces"
mocker.patch(
"app.service_api_client.get_service_template",