blob: 7a5aa73ea85151d964bcd22cdd34ab43286c9943 (
plain)
1
2
3
4
5
6
|
from app import database_cli
def test_database_commands(app, client):
runner = app.test_cli_runner()
assert runner.invoke(database_cli,["delete"]).exit_code == 0
assert runner.invoke(database_cli,["create"]).exit_code == 0
|