MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_init_with_no_proxy

Function test_init_with_no_proxy

tests/test_chromium.py:664–668  ·  view source on GitHub ↗

Test that initializing ChromiumLoader with proxy=None results in loader.proxy being None.

()

Source from the content-addressed store, hash-verified

662
663
664def test_init_with_no_proxy():
665 """Test that initializing ChromiumLoader with proxy=None results in loader.proxy being None."""
666 urls = ["http://example.com"]
667 loader = ChromiumLoader(urls, backend="playwright", proxy=None)
668 assert loader.proxy is None
669
670
671@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

ChromiumLoaderClass · 0.90

Tested by

no test coverage detected