From 2bf8cd88f17ff52f9ce8ffee5465c15955487f36 Mon Sep 17 00:00:00 2001 From: Arie van Deursen Date: Fri, 30 Dec 2022 18:44:28 +0100 Subject: [PATCH] Fix @pytest.mark.skipif formatting --- bookwyrm/tests/models/test_book_model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookwyrm/tests/models/test_book_model.py b/bookwyrm/tests/models/test_book_model.py index ea73ab442..33854b3d6 100644 --- a/bookwyrm/tests/models/test_book_model.py +++ b/bookwyrm/tests/models/test_book_model.py @@ -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"""