diff --git a/opentech/apply/users/tests/test_utils.py b/opentech/apply/users/tests/test_utils.py index 8d9c9fa6c4a1dd7a2c167b5bb91ec35f95719045..75534cbaae9d44d916ae0be1de0f7b902395f4cd 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())