aboutsummaryrefslogtreecommitdiff
path: root/app/tests
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 21:29:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 21:29:42 +0530
commit7ecfc4bafc75a125c73e03bd630f065d9e4ed40c (patch)
tree7405c86d55806181696940c08f4ba61ab7706844 /app/tests
parent7d767d09ad9d7167d07d5b55a98b172de1a5200b (diff)
added superuser
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/test_cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/tests/test_cli.py b/app/tests/test_cli.py
index 7a5aa73..aec4cee 100644
--- a/app/tests/test_cli.py
+++ b/app/tests/test_cli.py
@@ -3,4 +3,5 @@ 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
+ assert runner.invoke(database_cli,["create"]).exit_code == 0
+ assert runner.invoke(database_cli,["admin-create"]).exit_code == 0 \ No newline at end of file