scripts/tests/reproduction_cli/conftest.py
scripts/tests/reproduction_cli/conftest.pyBrowse 41 files
147 tokens
514 bytes
Token encoding: o200k_base
Snapshot a9fb1c3
← Back to SKILL.md
1import sys2from pathlib import Path3 4import pytest5 6sys.path.insert(0, str(Path(__file__).resolve().parents[2]))7sys.path.insert(0, str(Path(__file__).resolve().parent))8 9from cli_testlib import _git10 11 12@pytest.fixture13def repo(tmp_path: Path) -> Path:14 root = tmp_path / "repo"15 root.mkdir()16 _git(root, "init", "-q", "-b", "main")17 _git(root, "config", "user.email", "test@example.com")18 _git(root, "config", "user.name", "test")19 _git(root, "config", "commit.gpgsign", "false")20 return root21