diff --git a/ceo/cli/mysql.py b/ceo/cli/mysql.py index 4098ea1..269dbdd 100644 --- a/ceo/cli/mysql.py +++ b/ceo/cli/mysql.py @@ -87,6 +87,6 @@ def pwreset(username): @click.argument('username') def delete(username): check_if_in_development() - click.confirm(f"Are you sure?", abort=True) + click.confirm("Are you sure?", abort=True) resp = http_delete(f'/api/db/mysql/{username}') handle_sync_response(resp) diff --git a/ceo/cli/postgresql.py b/ceo/cli/postgresql.py index 4807d7e..468d101 100644 --- a/ceo/cli/postgresql.py +++ b/ceo/cli/postgresql.py @@ -87,6 +87,6 @@ def pwreset(username): @click.argument('username') def delete(username): check_if_in_development() - click.confirm(f"Are you sure?", abort=True) + click.confirm("Are you sure?", abort=True) resp = http_delete(f'/api/db/postgresql/{username}') handle_sync_response(resp) diff --git a/tests/ceo/cli/test_db_mysql.py b/tests/ceo/cli/test_db_mysql.py index 758e9c9..699c6a7 100644 --- a/tests/ceo/cli/test_db_mysql.py +++ b/tests/ceo/cli/test_db_mysql.py @@ -1,4 +1,5 @@ -import pytest, os +import pytest +import os from click.testing import CliRunner from ceo.cli import cli diff --git a/tests/ceo/cli/test_db_postgresql.py b/tests/ceo/cli/test_db_postgresql.py index 06f47c2..f79d88d 100644 --- a/tests/ceo/cli/test_db_postgresql.py +++ b/tests/ceo/cli/test_db_postgresql.py @@ -1,4 +1,5 @@ -import pytest, os +import pytest +import os from click.testing import CliRunner from ceo.cli import cli