From f3377381cde1787178bc68b212b17b151bac426a Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 9 Aug 2018 17:40:27 +0100 Subject: [PATCH] Add the missing conf --- opentech/apply/users/tests/test_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opentech/apply/users/tests/test_utils.py b/opentech/apply/users/tests/test_utils.py index 8d9c9fa6c..75534cbaa 100644 --- a/opentech/apply/users/tests/test_utils.py +++ b/opentech/apply/users/tests/test_utils.py @@ -1,11 +1,12 @@ from django.core import mail -from django.test import TestCase +from django.test import TestCase, override_settings from opentech.apply.users.tests.factories import UserFactory from ..utils import send_activation_email +@override_settings(ROOT_URLCONF='opentech.apply.urls') class TestActivationEmail(TestCase): def test_activation_email_includes_link(self): send_activation_email(UserFactory()) -- GitLab