MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / test_load_provider_config_normalization

Function test_load_provider_config_normalization

tests/test_providers.py:58–63  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

56
57@pytest.mark.unit
58def test_load_provider_config_normalization(monkeypatch: pytest.MonkeyPatch) -> None:
59 monkeypatch.setenv("PAPERFLOW_LLM_PROVIDER", "MOCK")
60 monkeypatch.setenv("PAPERFLOW_EMBED_PROVIDER", "sentence-transformers")
61 config = load_provider_config()
62 assert config.llm_provider == "mock"
63 assert config.embed_provider == "sentence_transformers"
64
65
66@pytest.mark.unit

Callers

nothing calls this directly

Calls 1

load_provider_configFunction · 0.90

Tested by

no test coverage detected