This commit is contained in:
Eugene Yurtsev
2023-06-02 14:57:15 -04:00
parent 16f41719a4
commit c8f593b2c0

View File

@@ -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(