Coverage for tests/test_select_gen.py: 100%
9 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-08-12 19:13 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-08-12 19:13 +0000
1import subprocess 1efabcd
2import sys 1efabcd
3from pathlib import Path 1efabcd
5from .conftest import needs_py39 1efabcd
7root_path = Path(__file__).parent.parent 1efabcd
10@needs_py39 1efabcd
11def test_select_gen() -> None: 1efabcd
12 result = subprocess.run( 1abcd
13 [sys.executable, "scripts/generate_select.py"],
14 env={"CHECK_JINJA": "1"},
15 check=True,
16 cwd=root_path,
17 capture_output=True,
18 )
19 print(result.stdout) 1abcd