From a6bf81a707be74e18f04e4a4721db1fd637c4cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 22 Nov 2021 22:30:08 +0100 Subject: [PATCH] Black --- ihatemoney/forms.py | 2 +- ihatemoney/tests/main_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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={