blob: aec4cee830f45dde1cb87b22b516e78933165eb6 (
plain)
1
2
3
4
5
6
7
|
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
assert runner.invoke(database_cli,["admin-create"]).exit_code == 0
|