mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Fix a typo error on task argument
Modify unit test to be more robust
This commit is contained in:
@@ -465,7 +465,7 @@ def letter_raise_alert_if_no_ack_file_for_zip():
|
||||
# yesterday = datetime.now(tz=pytz.utc) - timedelta(days=1)
|
||||
yesterday = datetime.utcnow() - timedelta(days=1)
|
||||
for key in s3.get_list_of_files_by_suffix(bucket_name=current_app.config['DVLA_RESPONSE_BUCKET_NAME'],
|
||||
subfolder='root/dispatch', suffix='.ACK.txt', lastModified=yesterday):
|
||||
subfolder='root/dispatch', suffix='.ACK.txt', last_modified=yesterday):
|
||||
ack_file_list.append(key)
|
||||
|
||||
today_str = datetime.utcnow().strftime('%Y%m%d')
|
||||
|
||||
Reference in New Issue
Block a user