mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Updated to retrieve csv upload from new bucket.
Fix test errors.
This commit is contained in:
@@ -15,14 +15,10 @@ def test_create_job(sample_template):
|
||||
assert Job.query.count() == 0
|
||||
|
||||
job_id = uuid.uuid4()
|
||||
bucket_name = 'service-{}-notify'.format(sample_template.service.id)
|
||||
file_name = '{}.csv'.format(job_id)
|
||||
data = {
|
||||
'id': job_id,
|
||||
'service_id': sample_template.service.id,
|
||||
'template_id': sample_template.id,
|
||||
'bucket_name': bucket_name,
|
||||
'file_name': file_name,
|
||||
'original_file_name': 'some.csv',
|
||||
'notification_count': 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user