Commit 8b11d596 authored by Jan Reimes's avatar Jan Reimes
Browse files

🧪 test(config): update cache dir test to use hardcoded path

parent 99e6960c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -68,8 +68,7 @@ def test_config_cache_dir_default() -> None:

def test_config_cache_dir_custom(monkeypatch) -> None:
    """Test custom cache directory path."""
    custom_dir = "/tmp/test-cache"
    monkeypatch.setenv("PDF_REMOTE_CONVERTER_CACHE_DIR", custom_dir)
    monkeypatch.setenv("PDF_REMOTE_CONVERTER_CACHE_DIR", "/tmp/test-cache")  # noqa: S108
    settings = ProviderSettings()
    # Compare using resolve() to handle path normalization across platforms
    assert str(settings.cache_dir).replace("\\", "/").endswith("tmp/test-cache")