From c66d4c3c5953381da7c3042a505d277a2bf3aed2 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 3 Oct 2016 14:48:06 +0100 Subject: [PATCH] fix checkstyle --- tests/app/notifications/rest/test_send_notification.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/notifications/rest/test_send_notification.py b/tests/app/notifications/rest/test_send_notification.py index db2488767..9fc0661ba 100644 --- a/tests/app/notifications/rest/test_send_notification.py +++ b/tests/app/notifications/rest/test_send_notification.py @@ -679,9 +679,9 @@ def test_should_delete_notification_and_return_error_if_sqs_fails( template_type): with notify_api.test_request_context(), notify_api.test_client() as client: mocked = mocker.patch( - 'app.celery.provider_tasks.deliver_{}.apply_async'.format(template_type), - side_effect=Exception("failed to talk to SQS") - ) + 'app.celery.provider_tasks.deliver_{}.apply_async'.format(template_type), + side_effect=Exception("failed to talk to SQS") + ) mocker.patch('app.notifications.rest.create_uuid', return_value=fake_uuid) template = sample_template if template_type == 'sms' else sample_email_template to = sample_template.service.created_by.mobile_number if template_type == 'sms' \