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

Method test_wildcard_match

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

Source from the content-addressed store, hash-verified

293 assert result == [entry]
294
295 def test_wildcard_match(self):
296 entry = AuthConfigEntry(
297 hosts=("*.visualstudio.com",),
298 provider="azure-devops",
299 auth="basic-pat",
300 token_env="ADO_PAT",
301 )
302 result = find_entries_for_url("https://myorg.visualstudio.com/project", [entry])
303 assert result == [entry]
304
305 def test_no_match_returns_empty(self):
306 entry = _github_entry()

Callers

nothing calls this directly

Calls 2

AuthConfigEntryClass · 0.90
find_entries_for_urlFunction · 0.90

Tested by

no test coverage detected