From 62d7e38030e0d8efc5c3eba81ce8b185066b7416 Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Mon, 18 Mar 2024 10:11:56 -0400 Subject: [PATCH] Run ruff --- tests/app/services/model_install/test_model_install.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/app/services/model_install/test_model_install.py b/tests/app/services/model_install/test_model_install.py index c164f4c442..97ee15b173 100644 --- a/tests/app/services/model_install/test_model_install.py +++ b/tests/app/services/model_install/test_model_install.py @@ -5,7 +5,6 @@ Test the model installer import platform import uuid from pathlib import Path -from time import sleep from typing import Any, Dict import pytest @@ -300,7 +299,7 @@ def test_heuristic_import_with_type(mm2_installer: ModelInstallServiceBase, mode mm2_installer.wait_for_installs(timeout=10) if model_params["type"] != "embedding": assert install_job1.errored - assert install_job1.error_type == 'InvalidModelConfigException' + assert install_job1.error_type == "InvalidModelConfigException" return assert install_job1.complete assert install_job1.config_out if model_params["type"] == "embedding" else not install_job1.config_out