Use naive datetimes for format_delta math

This commit is contained in:
Ryan Ahearn
2022-11-30 16:42:42 -05:00
parent 006e7b5d0a
commit dd90d82942
5 changed files with 23 additions and 16 deletions

View File

@@ -1867,7 +1867,7 @@ def test_should_show_delete_template_page_with_time_block(
mocker.patch('app.template_statistics_client.get_last_used_date_for_template',
return_value='2012-01-01 12:00:00')
with freeze_time('2012-01-01 7:10:00'):
with freeze_time('2012-01-01 12:10:00'):
page = client_request.get(
'.delete_service_template',
service_id=SERVICE_ONE_ID,