MCPcopy
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_lazy_load_empty_urls

Function test_lazy_load_empty_urls

tests/test_chromium.py:493–497  ·  view source on GitHub ↗

Test that lazy_load yields no documents when the urls list is empty.

()

Source from the content-addressed store, hash-verified

491
492
493def test_lazy_load_empty_urls():
494 """Test that lazy_load yields no documents when the urls list is empty."""
495 loader = ChromiumLoader([], backend="playwright")
496 docs = list(loader.lazy_load())
497 assert docs == []
498
499
500@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

lazy_loadMethod · 0.95
ChromiumLoaderClass · 0.90

Tested by

no test coverage detected