mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 14:03:52 -04:00
update test
This commit is contained in:
@@ -226,26 +226,22 @@ def test_notification_status_shows_expected_back_link(
|
||||
[
|
||||
(
|
||||
"2012-01-01 06:01",
|
||||
(
|
||||
"Was sent on 1 January at 01:01 AM US/Eastern by Test User"
|
||||
),
|
||||
("‘sample template’ was sent by Test User today at 01:01 US/Eastern"),
|
||||
),
|
||||
(
|
||||
"2012-01-02 06:01",
|
||||
(
|
||||
"Was sent on 1 January at 01:01 AM US/Eastern by Test User"
|
||||
),
|
||||
("‘sample template’ was sent by Test User yesterday at 01:01 US/Eastern"),
|
||||
),
|
||||
(
|
||||
"2012-01-03 06:01",
|
||||
(
|
||||
"Was sent on 1 January at 01:01 AM US/Eastern by Test User"
|
||||
"‘sample template’ was sent by Test User on 1 January at 01:01 US/Eastern"
|
||||
),
|
||||
),
|
||||
(
|
||||
"2013-01-03 06:01",
|
||||
(
|
||||
"Was sent on 1 January at 01:01 AM US/Eastern by Test User"
|
||||
"‘sample template’ was sent by Test User on 1 January 2012 at 01:01 US/Eastern"
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -271,8 +267,6 @@ def test_notification_page_doesnt_link_to_template_in_tour(
|
||||
notification_id=fake_uuid,
|
||||
help=3,
|
||||
)
|
||||
p_text = normalize_spaces(page.select_one(".usa-alert__text").text)
|
||||
assert p_text == normalize_spaces(expected_message)
|
||||
assert len(page.select("main p:nth-of-type(1) a")) == 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user