fix for flake8

pull/15/head
Andrew Wang 1 year ago
parent df412191e3
commit 0d94b1fafe
  1. 2
      ceo/cli/mysql.py
  2. 2
      ceo/cli/postgresql.py
  3. 3
      tests/ceo/cli/test_db_mysql.py
  4. 3
      tests/ceo/cli/test_db_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/mysql/{username}')
handle_sync_response(resp)

@ -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)

@ -1,4 +1,5 @@
import pytest, os
import pytest
import os
from click.testing import CliRunner
from ceo.cli import cli

@ -1,4 +1,5 @@
import pytest, os
import pytest
import os
from click.testing import CliRunner
from ceo.cli import cli

Loading…
Cancel
Save