mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
formatting
This commit is contained in:
parent
0fff98eea0
commit
ce2136aeca
2 changed files with 4 additions and 4 deletions
|
@ -224,7 +224,10 @@ class ProjectForm(EditProjectForm):
|
|||
|
||||
@classmethod
|
||||
def enable_captcha(cls):
|
||||
captchaField = StringField(_("Which is a real currency: Euro or Petro dollar?"))
|
||||
captchaField = StringField(
|
||||
_("Which is a real currency: Euro or Petro dollar?"),
|
||||
validators=[DataRequired()],
|
||||
)
|
||||
setattr(cls, "captcha", captchaField)
|
||||
|
||||
def validate_captcha(form, field):
|
||||
|
|
|
@ -17,8 +17,6 @@ from ihatemoney.tests.common.ihatemoney_testcase import IhatemoneyTestCase
|
|||
from ihatemoney.versioning import LoggingMode
|
||||
|
||||
|
||||
|
||||
|
||||
class BudgetTestCase(IhatemoneyTestCase):
|
||||
def test_notifications(self):
|
||||
"""Test that the notifications are sent, and that email addresses
|
||||
|
@ -312,7 +310,6 @@ class BudgetTestCase(IhatemoneyTestCase):
|
|||
# project removed
|
||||
self.assertEqual(len(models.Project.query.all()), 0)
|
||||
|
||||
|
||||
def test_bill_placeholder(self):
|
||||
self.post_project("raclette")
|
||||
self.login("raclette")
|
||||
|
|
Loading…
Reference in a new issue