diff --git a/tests/test_exit_errors.py b/tests/test_exit_errors.py index 344c3b5733..1fdc3e36b0 100644 --- a/tests/test_exit_errors.py +++ b/tests/test_exit_errors.py @@ -18,6 +18,7 @@ def main(): result = runner.invoke(app) assert result.exit_code == 1 + def test_keyboardinterrupt(): # Mainly for coverage/completeness app = typer.Typer() @@ -30,6 +31,7 @@ def main(): assert result.exit_code == 130 assert result.stdout == "" + def test_oserror(): # Mainly for coverage/completeness app = typer.Typer()