Browse Source

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.

pull/411/head
Pēteris Caune 4 years ago
parent
commit
f131123e0e
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hc/accounts/tests/test_signup.py

+ 1
- 0
hc/accounts/tests/test_signup.py View File

@ -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": "[email protected]"}


Loading…
Cancel
Save