From b8db00d4d9929f576f9152d5f63a65d33787abc5 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Fri, 18 Mar 2016 11:46:17 +0000 Subject: [PATCH] Fixing tests broken by bad revert --- tests/app/main/views/test_code_not_received.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/main/views/test_code_not_received.py b/tests/app/main/views/test_code_not_received.py index 48607d10f..92be74682 100644 --- a/tests/app/main/views/test_code_not_received.py +++ b/tests/app/main/views/test_code_not_received.py @@ -23,6 +23,7 @@ def test_should_render_email_verification_resent_show_email_address_and_resend_v assert page.h1.string == 'Check your email' expected = "In order to verify your email address we've sent a new confirmation link to {}".format(api_user_active.email_address) # noqa + message = page.find_all('p')[1].text assert message == expected mock_send_verify_email.assert_called_with(api_user_active.id, api_user_active.email_address)