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

Function test_build_cmd_defaults

tests/test_plasmate.py:69–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67# ---------------------------------------------------------------------------
68
69def test_build_cmd_defaults():
70 loader = _make_loader(urls=["https://example.com"])
71 cmd = loader._build_cmd("https://example.com")
72 assert "plasmate" in cmd[0]
73 assert "fetch" in cmd
74 assert "https://example.com" in cmd
75 assert "--format" in cmd
76 assert "text" in cmd
77 assert "--timeout" in cmd
78 assert "30000" in cmd
79
80
81def test_build_cmd_with_selector():

Callers

nothing calls this directly

Calls 2

_make_loaderFunction · 0.85
_build_cmdMethod · 0.80

Tested by

no test coverage detected