From d0c5977b9dfca83ffcfacdfdc683853ca7f3af60 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 9 Mar 2016 09:57:14 +0000 Subject: [PATCH] Fix extra space in test --- tests/app/notifications/test_rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/notifications/test_rest.py b/tests/app/notifications/test_rest.py index d7507fabd..510068494 100644 --- a/tests/app/notifications/test_rest.py +++ b/tests/app/notifications/test_rest.py @@ -582,7 +582,7 @@ def test_should_reject_email_notification_with_bad_email(notify_api, sample_emai app.celery.tasks.send_email.apply_async.assert_not_called() assert response.status_code == 400 assert data['result'] == 'error' - assert data['message']['to'][0] == 'Not a valid email address ' + assert data['message']['to'][0] == 'Not a valid email address' def test_should_reject_email_notification_with_template_id_that_cant_be_found(