Coverage for tests/test_select_gen.py: 100%
12 statements
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-15 09:31 +0000
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-15 09:31 +0000
1import os 1abcdef
2import subprocess 1abcdef
3import sys 1abcdef
4from pathlib import Path 1abcdef
6from .conftest import needs_py39 1abcdef
8root_path = Path(__file__).parent.parent 1abcdef
11@needs_py39 1abcdef
12def test_select_gen() -> None: 1abcdef
13 env = os.environ.copy() 1ghijk
14 env["CHECK_JINJA"] = "1" 1ghijk
15 result = subprocess.run( 1ghijk
16 [sys.executable, "scripts/generate_select.py"],
17 env=env,
18 check=True,
19 cwd=root_path,
20 capture_output=True,
21 )
22 print(result.stdout) 1ghijk