This commit is contained in:
Waylon Walker 2023-05-23 08:55:35 -05:00
parent daf81343bf
commit a2b33b25f8
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
11 changed files with 479 additions and 55 deletions

15
tests/test_cli_app.py Normal file
View file

@ -0,0 +1,15 @@
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