mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-10 11:08:20 +00:00
test: expect newline between heading and body in trafilatura output
trafilatura 2.3 (bumped in #421) separates an <h1> from the following paragraph with a newline; 2.2 glued them together ("Example TitleThis is ..."). test_networkidle_timeout_still_extracts_content pinned the old glued string, so the Docker test stage has failed on every main run since #421 merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
07a6d43a72
commit
838704ea23
1 file changed
+1
-1
+1
-1
@@ -99,7 +99,7 @@ async def test_networkidle_timeout_still_extracts_content():
|
||||
LoadRequest(urls=["https://example.test"]), None, fake_dep()
|
||||
)
|
||||
assert results[0].page_content == (
|
||||
"Example TitleThis is the main article body with enough words for "
|
||||
"Example Title\nThis is the main article body with enough words for "
|
||||
"trafilatura to consider it real content rather than boilerplate."
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user