1
0
mirror of https://github.com/ycd/manage-fastapi.git synced 2021-11-08 01:34:39 +03:00
Files
manage-fastapi/tests/test_utils_showmodels.py
2020-11-01 18:30:36 +01:00

12 lines
223 B
Python

from typer.testing import CliRunner
from manage_fastapi.main import app
runner = CliRunner()
# TODO add more tests
def test_showmodels():
result = runner.invoke(app, ["showmodels"])
assert result.exit_code == 0