From 5f23eecb8409d56c35a59d31a84628f4c0099f95 Mon Sep 17 00:00:00 2001 From: Paul Konstantin Gerke Date: Sun, 6 Mar 2022 18:31:29 +0100 Subject: [PATCH] Black --- core/tests/tests_forms.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/tests/tests_forms.py b/core/tests/tests_forms.py index 24f4a1ff..84c2ce7c 100644 --- a/core/tests/tests_forms.py +++ b/core/tests/tests_forms.py @@ -663,7 +663,7 @@ class NotesFormsTest(FormsTestCaseBase): "child": self.note.child.id, "note": "Edited note", "time": self.localdate_string(), - "tags": "oldtag,newtag" + "tags": "oldtag,newtag", } page = self.c.post("/notes/{}/".format(self.note.id), params, follow=True) self.assertEqual(page.status_code, 200) @@ -676,8 +676,7 @@ class NotesFormsTest(FormsTestCaseBase): ) self.assertSetEqual( - set(t.name for t in self.note.tags.all()), - {"oldtag", "newtag"} + set(t.name for t in self.note.tags.all()), {"oldtag", "newtag"} ) # Old tag remains old, because it was not added @@ -692,7 +691,7 @@ class NotesFormsTest(FormsTestCaseBase): "child": self.note.child.id, "note": "Edited note (2)", "time": self.localdate_string(), - "tags": "oldtag" + "tags": "oldtag", } page = self.c.post("/notes/{}/".format(self.note.id), params, follow=True) self.assertEqual(page.status_code, 200)