mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Fix @pytest.mark.skipif formatting
This commit is contained in:
parent
5d63b48328
commit
2bf8cd88f1
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ from bookwyrm import models, settings
|
||||||
from bookwyrm.models.book import isbn_10_to_13, isbn_13_to_10
|
from bookwyrm.models.book import isbn_10_to_13, isbn_13_to_10
|
||||||
from bookwyrm.settings import ENABLE_THUMBNAIL_GENERATION
|
from bookwyrm.settings import ENABLE_THUMBNAIL_GENERATION
|
||||||
|
|
||||||
|
|
||||||
class Book(TestCase):
|
class Book(TestCase):
|
||||||
"""not too much going on in the books model but here we are"""
|
"""not too much going on in the books model but here we are"""
|
||||||
|
|
||||||
|
@ -105,7 +106,7 @@ class Book(TestCase):
|
||||||
|
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
not ENABLE_THUMBNAIL_GENERATION,
|
not ENABLE_THUMBNAIL_GENERATION,
|
||||||
reason="Thumbnail generation disabled in settings"
|
reason="Thumbnail generation disabled in settings",
|
||||||
)
|
)
|
||||||
def test_thumbnail_fields(self):
|
def test_thumbnail_fields(self):
|
||||||
"""Just hit them"""
|
"""Just hit them"""
|
||||||
|
|
Loading…
Reference in a new issue