mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Use safe env getter for test verification
This commit is contained in:
@@ -92,9 +92,9 @@ def test_update_letter_notifications_statuses_calls_with_correct_bucket_location
|
|||||||
s3_mock.assert_called_with('{}-ftp'.format(
|
s3_mock.assert_called_with('{}-ftp'.format(
|
||||||
current_app.config['NOTIFY_EMAIL_DOMAIN']),
|
current_app.config['NOTIFY_EMAIL_DOMAIN']),
|
||||||
'NOTIFY-20170823160812-RSP.TXT',
|
'NOTIFY-20170823160812-RSP.TXT',
|
||||||
os.environ['AWS_ACCESS_KEY_ID'],
|
os.environ.get('AWS_ACCESS_KEY_ID'),
|
||||||
os.environ['AWS_SECRET_ACCESS_KEY'],
|
os.environ.get('AWS_SECRET_ACCESS_KEY'),
|
||||||
os.environ['AWS_REGION'],
|
os.environ.get('AWS_REGION'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user