Skip to content

Commit 0e90d91

Browse files
committed
fix(test): add blog as exception
1 parent 470d409 commit 0e90d91

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_build.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,13 @@ def test_simple_build_item_length_unlimited(self):
398398
if feed_item.title not in (
399399
"Page without meta with short text",
400400
"Blog sample",
401+
"Blog",
401402
):
402-
self.assertGreater(len(feed_item.description), 150, feed_item.title)
403+
self.assertGreater(
404+
len(feed_item.description),
405+
150,
406+
f"Failed item title: {feed_item.title}",
407+
)
403408

404409
def test_simple_build_item_delimiter(self):
405410
with tempfile.TemporaryDirectory() as tmpdirname:

0 commit comments

Comments
 (0)