(monkeypatch: pytest.MonkeyPatch)
| 56 | |
| 57 | @pytest.mark.unit |
| 58 | def 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 |
nothing calls this directly
no test coverage detected