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

Method test_resolve_token_inline

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

Source from the content-addressed store, hash-verified

383 assert GitHubAuth().resolve_token(_github_entry()) == "env-token"
384
385 def test_resolve_token_inline(self):
386 assert GitHubAuth().resolve_token(_github_entry(token="inline-tok")) == "inline-tok"
387
388 def test_resolve_token_strips_whitespace(self, monkeypatch):
389 monkeypatch.setenv("GH_TOKEN", " my-token ")

Callers

nothing calls this directly

Calls 3

GitHubAuthClass · 0.90
_github_entryFunction · 0.85
resolve_tokenMethod · 0.45

Tested by

no test coverage detected