Skip to content

Commit e92cac1

Browse files
committed
Fix test
1 parent 37577ba commit e92cac1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_build.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,13 @@ def test_simple_build_item_length_unlimited(self):
322322
self.assertEqual(feed_parsed.bozo, 0)
323323

324324
for feed_item in feed_parsed.entries:
325-
if feed_item.title not in ("Page without meta with short text",):
326-
self.assertGreaterEqual(len(feed_item.description), 150)
325+
if feed_item.title not in (
326+
"Page without meta with short text",
327+
"Blog sample",
328+
):
329+
self.assertGreaterEqual(
330+
len(feed_item.description), 150, feed_item.title
331+
)
327332

328333
def test_simple_build_pretty_print_enabled(self):
329334
with tempfile.TemporaryDirectory() as tmpdirname:

0 commit comments

Comments
 (0)