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

Function test_resolve_extra_headers_non_mapping_ignored

tests/test_config.py:89–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88
89def test_resolve_extra_headers_non_mapping_ignored():
90 assert resolve_extra_headers({"extra_headers": ["Editor-Version: x"]}) == {}
91 assert resolve_extra_headers({"extra_headers": "Editor-Version: x"}) == {}
92
93
94def test_resolve_extra_headers_skips_bad_entries():

Callers

nothing calls this directly

Calls 1

resolve_extra_headersFunction · 0.90

Tested by

no test coverage detected