From a60e11a1b6dea61e3f78b404e7ae96dd2fcfa3e9 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Fri, 13 May 2016 17:25:34 +0100 Subject: [PATCH] Fixed test bug due to pluralisation typo --- tests/app/notifications/test_rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/notifications/test_rest.py b/tests/app/notifications/test_rest.py index 341a1ddb1..9c5e6bc17 100644 --- a/tests/app/notifications/test_rest.py +++ b/tests/app/notifications/test_rest.py @@ -1517,7 +1517,7 @@ def test_should_record_email_request_in_statsd(notify_api, notify_db, notify_db_ data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) assert response.status_code == 201 - app.statsd_client.incr.assert_called_once_with("notification.api.email") + app.statsd_client.incr.assert_called_once_with("notifications.api.email") def test_should_record_sms_request_in_statsd(notify_api, notify_db, notify_db_session, sample_template, mocker): @@ -1539,7 +1539,7 @@ def test_should_record_sms_request_in_statsd(notify_api, notify_db, notify_db_se data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) assert response.status_code == 201 - app.statsd_client.incr.assert_called_once_with("notification.api.sms") + app.statsd_client.incr.assert_called_once_with("notifications.api.sms") def test_ses_callback_should_update_record_statsd(