conftest.py python
31 lines 779 B
Raw
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 1 day 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 2 commits
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 1 day ago
sha256:4671b7f787ddbe63ced31c895b688c77ab495653b65a730b423329f26b3c1439 feat: K1-P1 complete — agent provenance, build-verification… Sonnet 4.6 patch 53 days ago