mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Added UTC to formatter return strings and appropriate tests (#617)
Co-authored-by: Andrew Shumway <ashumway@flexion.us>
This commit is contained in:
@@ -48,7 +48,7 @@ def test_get_upload_hub_page(
|
||||
|
||||
assert normalize_spaces(uploads[0].text.strip()) == (
|
||||
'some.csv '
|
||||
'Sent 1 January 2016 at 11:09 '
|
||||
'Sent 1 January 2016 at 11:09 UTC '
|
||||
'0 pending 8 delivered 2 failed'
|
||||
)
|
||||
assert uploads[0].select_one('a.file-list-filename-large')['href'] == (
|
||||
@@ -79,12 +79,12 @@ def test_uploads_page_shows_scheduled_jobs(
|
||||
),
|
||||
(
|
||||
'even_later.csv '
|
||||
'Sending 1 January 2016 at 23:09 '
|
||||
'Sending 1 January 2016 at 23:09 UTC '
|
||||
'1 text message waiting to send'
|
||||
),
|
||||
(
|
||||
'send_me_later.csv '
|
||||
'Sending 1 January 2016 at 11:09 '
|
||||
'Sending 1 January 2016 at 11:09 UTC '
|
||||
'1 text message waiting to send'
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user