()
| 87 | |
| 88 | |
| 89 | def 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 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected