()
| 68 | |
| 69 | |
| 70 | def test_resolve_extra_headers_valid_mapping(): |
| 71 | config = { |
| 72 | "extra_headers": { |
| 73 | "Editor-Version": "vscode/1.95.0", |
| 74 | "Copilot-Integration-Id": "vscode-chat", |
| 75 | } |
| 76 | } |
| 77 | assert resolve_extra_headers(config) == { |
| 78 | "Editor-Version": "vscode/1.95.0", |
| 79 | "Copilot-Integration-Id": "vscode-chat", |
| 80 | } |
| 81 | |
| 82 | |
| 83 | def test_resolve_extra_headers_stringifies_scalar_values(): |
nothing calls this directly
no test coverage detected