From f131123e0e5bbcb78dbf140d003a66557c6d57a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 5 Aug 2020 17:35:37 +0300 Subject: [PATCH] In the test_it_sends_link testcase, explicitly set the USE_PAYMENTS setting. This way tests work regardless of what's in the environment variable or local_settings.py file. --- hc/accounts/tests/test_signup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hc/accounts/tests/test_signup.py b/hc/accounts/tests/test_signup.py index a2379ce9..ffba2700 100644 --- a/hc/accounts/tests/test_signup.py +++ b/hc/accounts/tests/test_signup.py @@ -8,6 +8,7 @@ from django.conf import settings class SignupTestCase(TestCase): + @override_settings(USE_PAYMENTS=False) def test_it_sends_link(self): form = {"identity": "alice@example.org"}