mirror of
https://github.com/ycd/manage-fastapi.git
synced 2021-11-08 01:34:39 +03:00
12 lines
223 B
Python
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
|