aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_cli.py
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2021-06-06 10:11:00 +0000
committerGitHub <noreply@github.com>2021-06-06 10:11:00 +0000
commit6595d53212eaa4b9319da7196f5e2286d30eb462 (patch)
tree6fb829110658369321bab897707132f76f9b1b2c /app/tests/test_cli.py
parent57207efe38174666d40964b74856537c6f5314ab (diff)
Format code with black
This commit fixes the style issues introduced in 57207ef according to the output from black. Details: https://deepsource.io/gh/navanchauhan/SaaS-in-a-Flask/transform/fb582430-1f1f-45bb-8c05-5f5bec16f981/
Diffstat (limited to 'app/tests/test_cli.py')
-rw-r--r--app/tests/test_cli.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/tests/test_cli.py b/app/tests/test_cli.py
index aec4cee..194dd64 100644
--- a/app/tests/test_cli.py
+++ b/app/tests/test_cli.py
@@ -1,7 +1,8 @@
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 \ No newline at end of file
+ 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