From 34948d494c1156fbe139a8cedc11b168de4d16c2 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 30 Sep 2021 22:23:29 -0700 Subject: [PATCH] Python formatting --- bookwyrm/tests/validate_html.py | 3 ++- bookwyrm/tests/views/admin/test_dashboard.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bookwyrm/tests/validate_html.py b/bookwyrm/tests/validate_html.py index 64b1863de..db0e832a0 100644 --- a/bookwyrm/tests/validate_html.py +++ b/bookwyrm/tests/validate_html.py @@ -1,8 +1,9 @@ """ html validation on rendered templates """ from tidylib import tidy_document + def validate_html(html): - """ run tidy on html """ + """run tidy on html""" _, errors = tidy_document( html.content, options={ diff --git a/bookwyrm/tests/views/admin/test_dashboard.py b/bookwyrm/tests/views/admin/test_dashboard.py index f5875ed36..f0238eef8 100644 --- a/bookwyrm/tests/views/admin/test_dashboard.py +++ b/bookwyrm/tests/views/admin/test_dashboard.py @@ -7,6 +7,7 @@ from django.test.client import RequestFactory from bookwyrm import models, views from bookwyrm.tests.validate_html import validate_html + class DashboardViews(TestCase): """every response to a get request, html or json"""