fix import unsorted import block issues in the tests

This commit is contained in:
Lincoln Stein 2023-11-26 13:37:47 -05:00
parent 60eae7443a
commit 8f4f4d48d5
2 changed files with 5 additions and 7 deletions

View File

@ -5,9 +5,7 @@
import argparse import argparse
from pathlib import Path from pathlib import Path
from invokeai.backend.model_manager import ModelProbe, InvalidModelConfigException from invokeai.backend.model_manager import InvalidModelConfigException, ModelProbe
parser = argparse.ArgumentParser(description="Probe model type") parser = argparse.ArgumentParser(description="Probe model type")
parser.add_argument( parser.add_argument(

View File

@ -3,18 +3,18 @@ Test the model installer
""" """
from pathlib import Path from pathlib import Path
from typing import List, Any, Dict from typing import Any, Dict, List
import pytest import pytest
from pydantic import ValidationError, BaseModel from pydantic import BaseModel, ValidationError
from invokeai.app.services.config import InvokeAIAppConfig from invokeai.app.services.config import InvokeAIAppConfig
from invokeai.app.services.events.events_base import EventServiceBase from invokeai.app.services.events.events_base import EventServiceBase
from invokeai.app.services.model_install import ( from invokeai.app.services.model_install import (
ModelInstallService,
ModelInstallServiceBase,
InstallStatus, InstallStatus,
ModelInstallJob, ModelInstallJob,
ModelInstallService,
ModelInstallServiceBase,
UnknownInstallJobException, UnknownInstallJobException,
) )
from invokeai.app.services.model_records import ModelRecordServiceBase, ModelRecordServiceSQL, UnknownModelException from invokeai.app.services.model_records import ModelRecordServiceBase, ModelRecordServiceSQL, UnknownModelException