Skip to content

Commit 9521594

Browse files
committed
Apply formatting
1 parent e151da7 commit 9521594

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/wagtail_factories/blocks.py

-1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,5 @@ def _create(cls, model_class, document):
243243

244244

245245
class RichTextBlockFactory(BlockFactory):
246-
247246
class Meta:
248247
model = blocks.RichTextBlock

tests/test_blocks.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ def test_custom_page_streamfield_data_complex():
136136
body__3__image__image__title="Blub",
137137
body__4__page__page__title="Bulb",
138138
body__5__document__document__title="Bubl",
139-
body__6__richtext__value=RichText("<p>This is some <strong>richtext</strong></p>"),
139+
body__6__richtext__value=RichText(
140+
"<p>This is some <strong>richtext</strong></p>"
141+
),
140142
)
141143
assert Image.objects.count() == 1
142144
image = Image.objects.first()

0 commit comments

Comments
 (0)