mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
Fixed some more pep8
This commit is contained in:
@@ -353,7 +353,9 @@ def test_should_send_template_to_correct_sms_provider_and_persist(sample_templat
|
|||||||
freezer.stop()
|
freezer.stop()
|
||||||
|
|
||||||
statsd_client.timing_with_dates.assert_called_once_with(
|
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(
|
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.incr.assert_called_once_with("notifications.tasks.send-email")
|
||||||
statsd_client.timing_with_dates.assert_called_once_with(
|
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(
|
persisted_notification = notifications_dao.get_notification(
|
||||||
|
|||||||
Reference in New Issue
Block a user