conftest.py python
31 lines 779 B
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 20 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:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 20 hours ago