Fix @pytest.mark.skipif formatting

This commit is contained in:
Arie van Deursen 2022-12-30 18:44:28 +01:00
parent 5d63b48328
commit 2bf8cd88f1
No known key found for this signature in database
GPG key ID: 72D9305D3EBD52B5

View file

@ -14,6 +14,7 @@ from bookwyrm import models, settings
from bookwyrm.models.book import isbn_10_to_13, isbn_13_to_10
from bookwyrm.settings import ENABLE_THUMBNAIL_GENERATION
class Book(TestCase):
"""not too much going on in the books model but here we are"""
@ -105,7 +106,7 @@ class Book(TestCase):
@pytest.mark.skipif(
not ENABLE_THUMBNAIL_GENERATION,
reason="Thumbnail generation disabled in settings"
reason="Thumbnail generation disabled in settings",
)
def test_thumbnail_fields(self):
"""Just hit them"""