mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-24 05:50:18 +00:00
q
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
"""Tests for the downloader."""
|
||||
import pytest
|
||||
|
||||
from langchain.chains.research.download import (
|
||||
_is_javascript_required,
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.requires("lxml")
|
||||
def test_is_javascript_required() -> None:
|
||||
"""Check whether a given page should be re-downloaded with javascript executed."""
|
||||
assert not _is_javascript_required(
|
||||
|
||||
Reference in New Issue
Block a user