Coverage for tests/test_select_gen.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-16 00:02 +0000

1import os 1abcdefghijklm

2import subprocess 1abcdefghijklm

3import sys 1abcdefghijklm

4from pathlib import Path 1abcdefghijklm

5 

6root_path = Path(__file__).parent.parent 1abcdefghijklm

7 

8 

9def test_select_gen() -> None: 1abcdefghijklm

10 env = os.environ.copy() 1nopqrstuvwxyz

11 env["CHECK_JINJA"] = "1" 1nopqrstuvwxyz

12 result = subprocess.run( 1nopqrstuvwxyz

13 [sys.executable, Path("scripts") / "generate_select.py"], 

14 env=env, 

15 check=True, 

16 cwd=root_path, 

17 capture_output=True, 

18 ) 

19 print(result.stdout) 1nopqrstuvwxyz