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

Function test_build_cmd_with_headers

tests/test_plasmate.py:89–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88
89def test_build_cmd_with_headers():
90 loader = _make_loader(extra_headers={"Authorization": "Bearer token"})
91 cmd = loader._build_cmd("https://example.com")
92 assert "--header" in cmd
93 idx = cmd.index("--header")
94 assert "Authorization: Bearer token" in cmd[idx + 1]
95
96
97# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

_make_loaderFunction · 0.85
_build_cmdMethod · 0.80

Tested by

no test coverage detected