diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index f7b748f1..f2de4462 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -198,7 +198,7 @@ class ProjectForm(EditProjectForm): submit = SubmitField(_("Create the project")) def __init__(self, *args, **kwargs): - self.bypass_captcha = kwargs.get('bypass_captcha', False) + self.bypass_captcha = kwargs.get("bypass_captcha", False) super().__init__(*args, **kwargs) def save(self): diff --git a/ihatemoney/tests/main_test.py b/ihatemoney/tests/main_test.py index cbcc4742..9707bd8a 100644 --- a/ihatemoney/tests/main_test.py +++ b/ihatemoney/tests/main_test.py @@ -286,7 +286,7 @@ class CaptchaTestCase(IhatemoneyTestCase): assert len(models.Project.query.all()) == 1 def test_api_project_creation_does_not_need_captcha(self): - self.client.get('/') + self.client.get("/") resp = self.client.post( "/api/projects", data={