aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_cli.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-07 13:52:20 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-07 13:52:20 +0530
commit359813517e3382c527125fe673fa89f0fd0742c0 (patch)
tree5010e2427cf0d19e7365e44fac40612375c135c9 /app/tests/test_cli.py
parentb752efffe410c9cc9cd53f8c50a5fb9f75069e93 (diff)
added docstrings
Diffstat (limited to 'app/tests/test_cli.py')
-rw-r--r--app/tests/test_cli.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/tests/test_cli.py b/app/tests/test_cli.py
index 194dd64..bbbe53b 100644
--- a/app/tests/test_cli.py
+++ b/app/tests/test_cli.py
@@ -1,7 +1,16 @@
+# -*- 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