learn-sql-model/tests/test_cli_app.py
2023-05-23 08:55:35 -05:00

15 lines
309 B
Python

from typer.testing import CliRunner
from learn_sql_model.cli.app import app
runner = CliRunner()
def test_cli_app_version():
result = runner.invoke(app, ["--version"])
assert result.exit_code == 0
def test_cli_help():
result = runner.invoke(app, ["--help"])
assert result.exit_code == 0