mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Refactor dates being passed around
I believe this way is nicer to read, we don't have to change between datetimes and strings and back.
This commit is contained in:
@@ -296,7 +296,7 @@ def test_get_key_and_size_of_letters_to_be_sent_to_print(notify_api, mocker, sam
|
||||
{'ContentLength': 3},
|
||||
])
|
||||
|
||||
results = get_key_and_size_of_letters_to_be_sent_to_print('2020-02-17')
|
||||
results = get_key_and_size_of_letters_to_be_sent_to_print(datetime.now() - timedelta(minutes=30))
|
||||
|
||||
assert mock_s3.call_count == 3
|
||||
mock_s3.assert_has_calls(
|
||||
|
||||
Reference in New Issue
Block a user