From 25305d07060a69cdbef72eca2c22126d210613d7 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 16 Jan 2024 12:01:39 -0800 Subject: [PATCH] update testing --- tests/app/main/views/test_jobs.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/app/main/views/test_jobs.py b/tests/app/main/views/test_jobs.py index 8a18a7693..42cd5ecbf 100644 --- a/tests/app/main/views/test_jobs.py +++ b/tests/app/main/views/test_jobs.py @@ -353,10 +353,6 @@ def test_should_show_scheduled_job( "Sending Two week reminder today at 00:00 US/Eastern" ) - # assert normalize_spaces(page.select_one("main p.notification-status").text) == ( - # "Messages will remain in pending state until carrier status is received, typically 5 minutes." - # ) - assert page.select("main p a")[0]["href"] == url_for( "main.view_template_version", service_id=SERVICE_ONE_ID, @@ -487,6 +483,7 @@ def test_should_show_updates_for_scheduled_job_as_json( def test_time_left(job_created_at, expected_message): assert get_time_left(job_created_at) == expected_message + def test_should_show_message_note( client_request, mock_get_service_template, @@ -502,5 +499,5 @@ def test_should_show_message_note( ) assert normalize_spaces(page.select_one("main p.notification-status").text) == ( - "Messages will remain in pending state until carrier status is received, typically 5 minutes." + "Messages will remain in pending state until carrier status is received, typically 5 minutes." )