diff --git a/tests/app/main/views/test_jobs.py b/tests/app/main/views/test_jobs.py index 23eb8fc34..ec63858bc 100644 --- a/tests/app/main/views/test_jobs.py +++ b/tests/app/main/views/test_jobs.py @@ -424,11 +424,7 @@ def test_should_show_updates_for_one_job_as_json( assert "2021234567" in content["notifications"] assert "Status" in content["notifications"] assert "Delivered" in content["notifications"] - assert ( - "Sent by Test User on January 01, 2016 at 12:00 AM US/Eastern" - in content["status"] - ) - assert "12:00" in content["notifications"] + assert "01-01-2016 at 12:00 AM" in content["notifications"] @freeze_time("2016-01-01 05:00:00.000001") @@ -469,10 +465,7 @@ def test_should_show_updates_for_scheduled_job_as_json( assert "2021234567" in content["notifications"] assert "Status" in content["notifications"] assert "Delivered" in content["notifications"] - assert ( - "Sent by Test User on June 01, 2016 at 04:00 PM US/Eastern" in content["status"] - ) - assert "12:00" in content["notifications"] + assert "01-01-2016 at 12:00 AM" in content["notifications"] @pytest.mark.parametrize(