Coverage for tests / conftest.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
1from pathlib import Path 1abcdefghij
3import pytest 1abcdefghij
4import typer 1abcdefghij
7@pytest.fixture(name="app_dir") 1abcdefghij
8def patch_app_dir(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path: 1abcdefghij
9 monkeypatch.setattr(typer, "get_app_dir", lambda _app_name: str(tmp_path)) 1abcdefghij
10 return tmp_path 1abcdefghij