From 6e5cb312fb9683ddbe25ae1dd86f708a6f17a9f7 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 19 Nov 2024 06:59:53 +0000 Subject: [PATCH] Black formatting update and fixed flake8 error. test_inline_checkboxes is a duplicate of the test on line 237. --- tests/test_layout_objects.py | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/tests/test_layout_objects.py b/tests/test_layout_objects.py index 1ca8a12..6eec8de 100644 --- a/tests/test_layout_objects.py +++ b/tests/test_layout_objects.py @@ -275,7 +275,7 @@ def test_accordion_and_accordiongroup(self): assert parse_form(form) == parse_expected("accordion.html") def test_accordion_css_class_is_applied(self): - classes = 'one two three' + classes = "one two three" test_form = SampleForm() test_form.helper = FormHelper() test_form.helper.form_tag = False @@ -283,18 +283,17 @@ def test_accordion_css_class_is_applied(self): Accordion( AccordionGroup("one", "first_name"), css_class=classes, - css_id='super-accordion' + css_id="super-accordion", ) ) html = render_crispy_form(test_form) assert ( - html.count('
test"),