feat: project scaffolding with config files and test fixtures

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
tlg
2026-04-04 07:23:14 +02:00
parent cf7c77b3b5
commit a64f32b590
8 changed files with 159 additions and 0 deletions

View File

View File

@@ -0,0 +1,11 @@
import os
import pytest
from pathlib import Path
# Point config to the project's config directory for tests
@pytest.fixture(autouse=True)
def set_config_dir(tmp_path, monkeypatch):
"""Use the project's config files for tests by default."""
config_dir = Path(__file__).parent.parent / "config"
monkeypatch.setenv("LLMUX_CONFIG_DIR", str(config_dir))
return config_dir