Run auto-correct on app/ and tests/

This commit is contained in:
Ben Thorner
2021-03-10 13:55:06 +00:00
parent 321b4913ed
commit a91fde2fda
248 changed files with 2026 additions and 1716 deletions

View File

@@ -5,13 +5,13 @@ from sqlalchemy.exc import IntegrityError
from sqlalchemy.orm.exc import NoResultFound
from app.dao.api_key_dao import (
save_model_api_key,
expire_api_key,
get_model_api_keys,
get_unsigned_secrets,
get_unsigned_secret,
expire_api_key
get_unsigned_secrets,
save_model_api_key,
)
from app.models import ApiKey, KEY_TYPE_NORMAL
from app.models import KEY_TYPE_NORMAL, ApiKey
def test_save_api_key_should_create_new_api_key_and_history(sample_service):