MCPcopy Index your code
hub / github.com/github/spec-kit / test_azure_ad_headers

Method test_azure_ad_headers

tests/test_authentication.py:429–430  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

427 assert AzureDevOpsAuth().auth_headers("tok", "azure-cli") == {"Authorization": "Bearer tok"}
428
429 def test_azure_ad_headers(self):
430 assert AzureDevOpsAuth().auth_headers("tok", "azure-ad") == {"Authorization": "Bearer tok"}
431
432 def test_unsupported_scheme_raises(self):
433 with pytest.raises(ValueError):

Callers

nothing calls this directly

Calls 2

AzureDevOpsAuthClass · 0.90
auth_headersMethod · 0.45

Tested by

no test coverage detected