Coverage for tests / test_cli / test_version.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
1import subprocess 1abcdefghij
2import sys 1abcdefghij
5def test_script_help(): 1abcdefghij
6 result = subprocess.run( 1abcdefghij
7 [sys.executable, "-m", "coverage", "run", "-m", "typer", "--version"],
8 capture_output=True,
9 encoding="utf-8",
10 )
11 assert "Typer version:" in result.stdout 1abcdefghij