MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_persistence

Method test_persistence

tests/test_providers.py:71–75  ·  view source on GitHub ↗
(self, tmp_path: Path)

Source from the content-addressed store, hash-verified

69 assert remove_provider("ghost") is False
70
71 def test_persistence(self, tmp_path: Path) -> None:
72 add_provider("deepseek", "sk-key")
73 cfg2 = load_providers()
74 assert "deepseek" in cfg2.providers
75 assert cfg2.providers["deepseek"].api_key == "sk-key"
76
77 def test_keyed_models(self) -> None:
78 add_provider("deepseek", "sk-1")

Callers

nothing calls this directly

Calls 2

add_providerFunction · 0.90
load_providersFunction · 0.90

Tested by

no test coverage detected