This commit is contained in:
Lincoln Stein 2023-08-20 15:27:51 -04:00
parent 8e6d88e98c
commit a536719fc3
2 changed files with 8 additions and 6 deletions

View File

@ -11,7 +11,8 @@ from .devices import ( # noqa: F401
torch_dtype, torch_dtype,
) )
from .log import write_log # noqa: F401 from .log import write_log # noqa: F401
from .util import (ask_user, from .util import (
ask_user,
download_with_resume, download_with_resume,
instantiate_from_config, instantiate_from_config,
url_attachment_name, url_attachment_name,

View File

@ -7,6 +7,7 @@ from pathlib import Path
from invokeai.app.services.config import InvokeAIAppConfig from invokeai.app.services.config import InvokeAIAppConfig
@pytest.fixture @pytest.fixture
def patch_rootdir(tmp_path: Path, monkeypatch: Any) -> None: def patch_rootdir(tmp_path: Path, monkeypatch: Any) -> None:
"""This may be overkill since the current tests don't need the root dir to exist""" """This may be overkill since the current tests don't need the root dir to exist"""