Coverage for tests/test_cli.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.11.2, created at 2026-11-04 19:57 +0000

1import subprocess 1abcdefgh

2import sys 1abcdefgh

3 

4 

5def test_script() -> None: 1abcdefgh

6 result = subprocess.run( 1ijklmnop

7 [sys.executable, "-m", "coverage", "run", "-m", "fastapi_new", "--help"], 

8 capture_output=True, 

9 encoding="utf-8", 

10 ) 

11 assert "Usage" in result.stdout 1ijklmnop