Added UTC to formatter return strings and appropriate tests (#617)

Co-authored-by: Andrew Shumway <ashumway@flexion.us>
This commit is contained in:
Andrew Shumway
2023-07-27 09:22:05 -06:00
committed by GitHub
parent 08d612166a
commit 34fef6954c
10 changed files with 76 additions and 76 deletions

View File

@@ -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'
),
]