mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
notify-260 remove server-side timezone handling
This commit is contained in:
@@ -751,10 +751,10 @@ def test_get_all_notifications_for_job_returns_csv_format(admin_request, sample_
|
||||
}
|
||||
|
||||
|
||||
@freeze_time('2017-06-10 04:00')
|
||||
@freeze_time('2017-06-10 00:00')
|
||||
def test_get_jobs_should_retrieve_from_ft_notification_status_for_old_jobs(admin_request, sample_template):
|
||||
# it's the 10th today, so 3 days should include all of 7th, 8th, 9th, and some of 10th.
|
||||
just_three_days_ago = datetime(2017, 6, 7, 3, 59, 59)
|
||||
just_three_days_ago = datetime(2017, 6, 6, 23, 59, 59)
|
||||
not_quite_three_days_ago = just_three_days_ago + timedelta(seconds=1)
|
||||
|
||||
job_1 = create_job(sample_template, created_at=just_three_days_ago, processing_started=just_three_days_ago)
|
||||
|
||||
Reference in New Issue
Block a user