mirror of
https://github.com/ycd/manage-fastapi.git
synced 2021-11-08 01:34:39 +03:00
12 lines
222 B
Python
12 lines
222 B
Python
from typer.testing import CliRunner
|
|
|
|
|
|
runner = CliRunner()
|
|
|
|
# TODO add more tests
|
|
|
|
# def test_runserver():
|
|
# os.system("cd test_one")
|
|
# result = runner.invoke(app, ["runserver"])
|
|
# assert result.exit_code == 0
|