# -*- coding: utf-8 -*- """ Test(s) for CLI Commands """ from app import database_cli def test_database_commands(app, client): """ Test for Database CLI Commands Test for initialisation, creation and admin user creation. """ 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