diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 15:49:56 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 15:49:56 +0530 |
commit | 812220acbfd41aea0382fcd9a37a989a4b091d66 (patch) | |
tree | 0f4277216efe81e6b8d21d9dfc39a3d343fac48e /app/tests/test_cli.py | |
parent | ad92a42e8439337cfde346fa84e75a5f91164eac (diff) | |
parent | 62a5ca363415b0f6f98785b6c3522a71fc895a72 (diff) |
fixing pull
Diffstat (limited to 'app/tests/test_cli.py')
-rw-r--r-- | app/tests/test_cli.py | 9 |
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 |