mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
fix letters being put in the wrong bucket when near midnight cut-off
another day, another timezone bug
This commit is contained in:
@@ -209,6 +209,14 @@ def test_move_failed_pdf_scan_failed(notify_api):
|
||||
("2018-07-02 16:31:00", "2018-07-03/"),
|
||||
("2018-01-02 16:31:00", "2018-01-02/"),
|
||||
("2018-01-02 17:31:00", "2018-01-03/"),
|
||||
|
||||
("2018-07-02 22:30:00", "2018-07-03/"),
|
||||
("2018-07-02 23:30:00", "2018-07-03/"),
|
||||
("2018-07-03 00:30:00", "2018-07-03/"),
|
||||
|
||||
("2018-01-02 22:30:00", "2018-01-03/"),
|
||||
("2018-01-02 23:30:00", "2018-01-03/"),
|
||||
("2018-01-03 00:30:00", "2018-01-03/"),
|
||||
])
|
||||
def test_get_folder_name_in_british_summer_time(notify_api, freeze_date, expected_folder_name):
|
||||
with freeze_time(freeze_date):
|
||||
|
||||
Reference in New Issue
Block a user