Coverage for tests/test_cli.py: 100%
5 statements
« prev ^ index » next coverage.py v7.17.2, created at 2026-12-05 11:35 +0000
« prev ^ index » next coverage.py v7.17.2, created at 2026-12-05 11:35 +0000
1import subprocess 1abcdefghijkl
2import sys 1abcdefghijkl
5def test_script() -> None: 1abcdefghijkl
6 result = subprocess.run( 1mnopqrstuvwx
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 1mnopqrstuvwx