This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
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
96d458fcf3
commit
f131123e0e
No known key found for this signature in database
GPG Key ID:
E28D7679E9A9EDE2
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
:
class
SignupTestCase
(
TestCase
)
:
@override_settings
(
USE_PAYMENTS
=
False
)
def
test_it_sends_link
(
self
)
:
def
test_it_sends_link
(
self
)
:
form
=
{
"
identity
"
:
"
[email protected]
"
}
form
=
{
"
identity
"
:
"
[email protected]
"
}
Write
Preview
Loading…
Cancel
Save