Skip to content

Commit 29fceeb

Browse files
committed
Fix regression to run with metadata
1 parent 6f8184b commit 29fceeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def execute_test(test_data):
180180
return None
181181
else:
182182
doc = readability.Document(test_data.orig_html)
183-
summary = doc.summary()
183+
summary = doc.summary_with_metadata()
184184
diff = lxml.html.diff.htmldiff(test_data.rdbl_html, summary.html)
185185
return ReadabilityTestResult(test_data, summary.html, diff)
186186

0 commit comments

Comments
 (0)