826f1d98fa
Add provisioning/config.py with read/write/wipe functions, update conftest.py with autouse CONFIG_PATH patch fixture, write 7 tests covering all acceptance criteria, and extend pyproject.toml per-file-ignores so conftest.py may import from provisioning. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
289 B
Python
11 lines
289 B
Python
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
import planemapper.provisioning.config as config_module
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def patch_config_path(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
|
|
monkeypatch.setattr(config_module, "CONFIG_PATH", tmp_path / "config.json")
|