fix lint errors
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Max Erenberg 2021-08-29 16:38:20 +00:00
parent a812ba94cd
commit 56a80a7567
1 changed files with 2 additions and 2 deletions

View File

@ -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 ="/api/db/mysql/someone_else/pwreset", json={}, principal=uid)
status, data ="/api/db/mysql/someone_else/pwreset", json={}, principal=uid)
assert status == 403
# cannot password reset a user that does not have a database