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

Method test_not_object_raises

tests/test_authentication.py:169–173  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

167 load_auth_config(cfg)
168
169 def test_not_object_raises(self, tmp_path):
170 cfg = tmp_path / "auth.json"
171 cfg.write_text("[]")
172 with pytest.raises(ValueError, match="JSON object"):
173 load_auth_config(cfg)
174
175 def test_missing_providers_raises(self, tmp_path):
176 cfg = tmp_path / "auth.json"

Callers

nothing calls this directly

Calls 1

load_auth_configFunction · 0.90

Tested by

no test coverage detected