Skip to content

Commit

Permalink
fix(test): add blog as exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Oct 24, 2024
1 parent 470d409 commit 0e90d91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,13 @@ def test_simple_build_item_length_unlimited(self):
if feed_item.title not in (
"Page without meta with short text",
"Blog sample",
"Blog",
):
self.assertGreater(len(feed_item.description), 150, feed_item.title)
self.assertGreater(
len(feed_item.description),
150,
f"Failed item title: {feed_item.title}",
)

def test_simple_build_item_delimiter(self):
with tempfile.TemporaryDirectory() as tmpdirname:
Expand Down

0 comments on commit 0e90d91

Please sign in to comment.