Coverage for tests / conftest.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-11-09 00:15 +0000

1from pathlib import Path 1abcdefg

2 

3import pytest 1abcdefg

4import typer 1abcdefg

5 

6 

7@pytest.fixture(name="app_dir") 1abcdefg

8def patch_app_dir(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path: 1abcdefg

9 monkeypatch.setattr(typer, "get_app_dir", lambda _app_name: str(tmp_path)) 1abcdefg

10 return tmp_path 1abcdefg