Python formatting

This commit is contained in:
Mouse Reeve 2021-09-30 22:23:29 -07:00
parent 6902ffc4c3
commit 34948d494c
2 changed files with 3 additions and 1 deletions

View file

@ -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={

View file

@ -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"""