forked from GithubBackups/healthchecks
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.
This commit is contained in:
parent
96d458fcf3
commit
f131123e0e
@ -8,6 +8,7 @@ from django.conf import settings
|
|||||||
|
|
||||||
|
|
||||||
class SignupTestCase(TestCase):
|
class SignupTestCase(TestCase):
|
||||||
|
@override_settings(USE_PAYMENTS=False)
|
||||||
def test_it_sends_link(self):
|
def test_it_sends_link(self):
|
||||||
form = {"identity": "alice@example.org"}
|
form = {"identity": "alice@example.org"}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user