MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_resolve_extra_headers_valid_mapping

Function test_resolve_extra_headers_valid_mapping

tests/test_config.py:70–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68
69
70def 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
83def test_resolve_extra_headers_stringifies_scalar_values():

Callers

nothing calls this directly

Calls 1

resolve_extra_headersFunction · 0.90

Tested by

no test coverage detected