mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 08:16:19 -04:00
fix tests
This commit is contained in:
@@ -101,6 +101,7 @@ def test_should_process_sms_job(sample_job, mocker):
|
|||||||
return_value=(load_example_csv("sms"), {"sender_id": None}),
|
return_value=(load_example_csv("sms"), {"sender_id": None}),
|
||||||
)
|
)
|
||||||
mocker.patch("app.celery.tasks.save_sms.apply_async")
|
mocker.patch("app.celery.tasks.save_sms.apply_async")
|
||||||
|
mocker.patch("app.celery.tasks.encryption.encrypt", return_value="something_encrypted")
|
||||||
mocker.patch("app.celery.tasks.create_uuid", return_value="uuid")
|
mocker.patch("app.celery.tasks.create_uuid", return_value="uuid")
|
||||||
|
|
||||||
process_job(sample_job.id)
|
process_job(sample_job.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user