mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Merge branch 'master' into add-multiple-reply-to-email-endpoints
This commit is contained in:
@@ -690,6 +690,6 @@ def test_run_letter_jobs(client, mocker, sample_letter_template):
|
||||
|
||||
run_letter_jobs()
|
||||
|
||||
mock_celery.assert_called_once_with(name=TaskNames.DVLA_FILES,
|
||||
mock_celery.assert_called_once_with(name=TaskNames.DVLA_JOBS,
|
||||
args=(job_ids,),
|
||||
queue=QueueNames.PROCESS_FTP)
|
||||
|
||||
@@ -25,7 +25,7 @@ def test_send_letter_jobs(client, mocker, sample_letter_template):
|
||||
assert response.status_code == 201
|
||||
assert json.loads(response.get_data())['data'] == {'response': "Task created to send files to DVLA"}
|
||||
|
||||
mock_celery.assert_called_once_with(name="send-files-to-dvla",
|
||||
mock_celery.assert_called_once_with(name="send-jobs-to-dvla",
|
||||
args=(job_ids['job_ids'],),
|
||||
queue="process-ftp-tasks")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user