MCPcopy Index your code
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_init_custom_params

Function test_init_custom_params

tests/test_plasmate.py:45–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44
45def test_init_custom_params():
46 loader = _make_loader(
47 output_format="som",
48 timeout=60,
49 selector="main",
50 extra_headers={"X-Custom": "value"},
51 fallback_to_chrome=True,
52 )
53 assert loader.output_format == "som"
54 assert loader.timeout == 60
55 assert loader.selector == "main"
56 assert loader.extra_headers == {"X-Custom": "value"}
57 assert loader.fallback_to_chrome is True
58
59
60def test_init_invalid_format():

Callers

nothing calls this directly

Calls 1

_make_loaderFunction · 0.85

Tested by

no test coverage detected