mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(db): formatting
This commit is contained in:
parent
cc18d86f29
commit
821e0326c9
5
tests/fixtures/sqlite_database.py
vendored
5
tests/fixtures/sqlite_database.py
vendored
@ -7,10 +7,7 @@ from invokeai.app.services.shared.sqlite.sqlite_database import SqliteDatabase
|
||||
from invokeai.app.services.shared.sqlite.sqlite_util import init_db
|
||||
|
||||
|
||||
def create_mock_sqlite_database(
|
||||
config: InvokeAIAppConfig,
|
||||
logger: Logger,
|
||||
) -> SqliteDatabase:
|
||||
def create_mock_sqlite_database(config: InvokeAIAppConfig, logger: Logger) -> SqliteDatabase:
|
||||
image_files = mock.Mock(spec=ImageFileStorageBase)
|
||||
db = init_db(config=config, logger=logger, image_files=image_files)
|
||||
return db
|
||||
|
Loading…
Reference in New Issue
Block a user