fix lint errors

pull/10/head
Max Erenberg 1 year ago
parent a812ba94cd
commit 56a80a7567
  1. 4
      tests/ceod/api/test_db_mysql.py

@ -2,7 +2,7 @@ import pytest
from ceod.model import User
from mysql.connector import connect
from mysql.connector.errors import InterfaceError, ProgrammingError
from mysql.connector.errors import ProgrammingError
def test_api_create_mysql_db(cfg, client, g_admin_ctx, ldap_user, krb_user):
@ -99,7 +99,7 @@ def test_api_passwd_reset_mysql(cfg, client, g_admin_ctx, ldap_user, krb_user):
assert old_passwd != new_passwd
# normal user cannot reset password for others
status, data = client.post(f"/api/db/mysql/someone_else/pwreset", json={}, principal=uid)
status, data = client.post("/api/db/mysql/someone_else/pwreset", json={}, principal=uid)
assert status == 403
# cannot password reset a user that does not have a database

Loading…
Cancel
Save