Coverage for tests/test_select_gen.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-09-09 00:02 +0000

1import subprocess 1abcdef

2import sys 1abcdef

3from pathlib import Path 1abcdef

4 

5from .conftest import needs_py39 1abcdef

6 

7root_path = Path(__file__).parent.parent 1abcdef

8 

9 

10@needs_py39 1abcdef

11def test_select_gen() -> None: 1abcdef

12 result = subprocess.run( 1ghij

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) 1ghij