chore: ruff

This commit is contained in:
psychedelicious 2024-03-25 19:26:42 +11:00
parent 06e51b582f
commit eb15a7516f

View File

@ -293,6 +293,7 @@ def test_other_error_during_install(
) -> None:
def raise_runtime_error(*args, **kwargs):
raise RuntimeError("Test error")
monkeypatch.setattr(
"invokeai.app.services.model_install.model_install_default.ModelInstallService._register_or_install",
raise_runtime_error,