aboutsummaryrefslogtreecommitdiff
path: root/app/tests
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/test_cli.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/tests/test_cli.py b/app/tests/test_cli.py
new file mode 100644
index 0000000..7a5aa73
--- /dev/null
+++ b/app/tests/test_cli.py
@@ -0,0 +1,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 \ No newline at end of file