Fix research pipeline runtime failures
This commit is contained in:
@@ -176,6 +176,13 @@ def test_url_dedup_no_duplicate() -> None:
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
async def test_fetcher_configures_all_httpx_timeout_phases() -> None:
|
||||
"""httpx requires a pool timeout when the other phases are explicit."""
|
||||
fetcher = AsyncFetcher()
|
||||
assert fetcher._client.timeout.pool == 10.0
|
||||
await fetcher.close()
|
||||
|
||||
|
||||
async def test_fetcher_blocked_url() -> None:
|
||||
"""Fetcher must return BLOCKED for SSRF-blocked URLs."""
|
||||
fetcher = AsyncFetcher()
|
||||
@@ -266,4 +273,4 @@ def test_normalized_document_hash_matches() -> None:
|
||||
text="test content for hash",
|
||||
)
|
||||
expected = hashlib.sha256(b"test content for hash").hexdigest()
|
||||
assert doc.content_hash == expected
|
||||
assert doc.content_hash == expected
|
||||
|
||||
Reference in New Issue
Block a user