mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Revert "Replace govuk template with govuk frontend components"
This commit is contained in:
@@ -227,9 +227,10 @@ def test_notification_page_shows_page_for_letter_notification(
|
||||
letter_images = page.select('main img')
|
||||
|
||||
assert len(letter_images) == count_of_pages
|
||||
for index in range(count_of_pages):
|
||||
|
||||
for index in range(1, count_of_pages + 1):
|
||||
assert page.select('img')[index]['src'].endswith(
|
||||
'.png?page={}'.format(index + 1)
|
||||
'.png?page={}'.format(index)
|
||||
)
|
||||
|
||||
assert len(mock_page_count.call_args_list) == 1
|
||||
|
||||
Reference in New Issue
Block a user