conftest.py python
31 lines 779 B
Raw
sha256:c07f2f34a0db9f43fe866f157d1935322008545ff8940c06c7c921eb219c55ab NXP-b DONE: independent BV-r2 pass + ISR (SD-17) Human minor ⚠ breaking 17 hours ago
1 """Shared pytest fixtures for adapter tests."""
2
3 from __future__ import annotations
4
5 from pathlib import Path
6
7 import pytest
8
9 from adapters.config import OverseerConfig
10 from tests.support import load_fixture_config, write_config
11
12
13 @pytest.fixture
14 def repo_root(tmp_path: Path) -> Path:
15 (tmp_path / ".overseer").mkdir()
16 return tmp_path
17
18
19 @pytest.fixture
20 def git_only_config(repo_root: Path) -> OverseerConfig:
21 return load_fixture_config(repo_root, "config-git-only.yaml")
22
23
24 @pytest.fixture
25 def muse_only_config(repo_root: Path) -> OverseerConfig:
26 return load_fixture_config(repo_root, "config-muse-only.yaml")
27
28
29 @pytest.fixture
30 def muse_git_mirror_config(repo_root: Path) -> OverseerConfig:
31 return load_fixture_config(repo_root, "config-muse-git-mirror.yaml")
File History 1 commit
sha256:c07f2f34a0db9f43fe866f157d1935322008545ff8940c06c7c921eb219c55ab NXP-b DONE: independent BV-r2 pass + ISR (SD-17) Human minor 17 hours ago