mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Fix a test after merge conflict mixup
This commit is contained in:
@@ -191,24 +191,11 @@ def test_notification_page_shows_page_for_letter_notification(
|
|||||||
assert mock_page_count.call_args_list[0][1]['values'] == {'name': 'Jo'}
|
assert mock_page_count.call_args_list[0][1]['values'] == {'name': 'Jo'}
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('notification_status, expected_message', (
|
@pytest.mark.parametrize('notification_status, expected_message', [
|
||||||
(
|
('permanent-failure', 'Cancelled 1 January at 1:02am'),
|
||||||
'permanent-failure',
|
('cancelled', 'Cancelled 1 January at 1:02am'),
|
||||||
'Cancelled 1 January at 1:02am',
|
('validation-failed', 'Validation failed – content is outside the printable area'),
|
||||||
),
|
])
|
||||||
(
|
|
||||||
'cancelled',
|
|
||||||
'Cancelled 1 January at 1:02am',
|
|
||||||
),
|
|
||||||
(
|
|
||||||
'validation-failed',
|
|
||||||
<<<<<<< HEAD
|
|
||||||
'Validation failed – content is outside the printable area',
|
|
||||||
=======
|
|
||||||
'Can’t print this letter – content is outside the printable area.',
|
|
||||||
>>>>>>> Cancelled notifications do not show as failures on dashboard stats
|
|
||||||
),
|
|
||||||
))
|
|
||||||
@freeze_time("2016-01-01 01:01")
|
@freeze_time("2016-01-01 01:01")
|
||||||
def test_notification_page_shows_cancelled_letter(
|
def test_notification_page_shows_cancelled_letter(
|
||||||
client_request,
|
client_request,
|
||||||
|
|||||||
Reference in New Issue
Block a user