From 41681ac001b4f93902c3c894bf2d6862e8d435e5 Mon Sep 17 00:00:00 2001 From: Imdad Ahad Date: Wed, 7 Sep 2016 11:17:27 +0100 Subject: [PATCH] Fix mocker syntax issue --- tests/app/public_contracts/test_POST_notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/public_contracts/test_POST_notification.py b/tests/app/public_contracts/test_POST_notification.py index ffb91210c..ce333cef3 100644 --- a/tests/app/public_contracts/test_POST_notification.py +++ b/tests/app/public_contracts/test_POST_notification.py @@ -25,7 +25,7 @@ def test_post_sms_contract(client, mocker, sample_template): def test_post_email_contract(client, mocker, sample_email_template): - mocker.patch('app.celery.tasks.send_sms.apply_async') + mocker.patch('app.celery.tasks.send_email.apply_async') mocker.patch('app.encryption.encrypt', return_value="something_encrypted") data = {