From a520dcef473d5ac9cef933af1ce81bf2e221c219 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Fri, 13 May 2016 17:22:03 +0100 Subject: [PATCH] Fixed some more pep8 --- tests/app/celery/test_tasks.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/app/celery/test_tasks.py b/tests/app/celery/test_tasks.py index bb6f0590c..f2818861d 100644 --- a/tests/app/celery/test_tasks.py +++ b/tests/app/celery/test_tasks.py @@ -353,7 +353,9 @@ def test_should_send_template_to_correct_sms_provider_and_persist(sample_templat freezer.stop() statsd_client.timing_with_dates.assert_called_once_with( - "notifications.tasks.send-sms.queued-for", datetime(2016, 1, 1, 11, 10, 0, 00000), datetime(2016, 1, 1, 11, 9, 0, 00000) + "notifications.tasks.send-sms.queued-for", + datetime(2016, 1, 1, 11, 10, 0, 00000), + datetime(2016, 1, 1, 11, 9, 0, 00000) ) mmg_client.send_sms.assert_called_once_with( @@ -591,7 +593,9 @@ def test_should_use_email_template_and_persist(sample_email_template_with_placeh statsd_client.incr.assert_called_once_with("notifications.tasks.send-email") statsd_client.timing_with_dates.assert_called_once_with( - "notifications.tasks.send-email.queued-for", datetime(2016, 1, 1, 11, 10, 0, 00000), datetime(2016, 1, 1, 11, 9, 0, 00000) + "notifications.tasks.send-email.queued-for", + datetime(2016, 1, 1, 11, 10, 0, 00000), + datetime(2016, 1, 1, 11, 9, 0, 00000) ) persisted_notification = notifications_dao.get_notification(