Actually use the mock in the test

This commit is contained in:
Rebecca Law
2016-01-07 18:02:33 +00:00
parent eb78a77808
commit f951b364ac

View File

@@ -17,6 +17,7 @@ def test_should_redirect_to_two_factor_when_password_reset_is_successful(notific
notifications_admin_db,
notify_db_session,
mocker):
_set_up_mocker(mocker)
with notifications_admin.test_request_context():
with notifications_admin.test_client() as client:
user = create_test_user('active')