mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Updated API to get it working with Admin.
* Added missing items from template which are required * Returned the file as a JSON string with the file as a base64 encoded string * Updated tests to match teh desired format
This commit is contained in:
committed by
Ken Tsang
parent
4c8bc9f430
commit
42c1040604
@@ -157,7 +157,6 @@ def test_create_letters_pdf_handles_s3_errors(mocker, sample_letter_notification
|
||||
'Type': 'Sender'
|
||||
}
|
||||
}
|
||||
|
||||
mock_s3 = mocker.patch('app.letters.utils.s3upload', side_effect=ClientError(error_response, 'operation_name'))
|
||||
mock_retry = mocker.patch('app.celery.letters_pdf_tasks.create_letters_pdf.retry')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user