From 8cc3958bc944116dab5b3cc14596b41a47284cbf Mon Sep 17 00:00:00 2001 From: Raivis Dejus Date: Fri, 27 Feb 2026 09:43:15 +0200 Subject: [PATCH] Fixed windows test --- tests/model_loader_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/model_loader_test.py b/tests/model_loader_test.py index d29acf82..9275768d 100644 --- a/tests/model_loader_test.py +++ b/tests/model_loader_test.py @@ -662,7 +662,7 @@ class TestModelDownloaderWhisperCpp: num_large_files=1, ) downloader.signals.finished.emit.assert_called_once_with( - f"/fake/path/ggml-{model_name}.bin" + os.path.join("/fake/path", f"ggml-{model_name}.bin") ) def test_lumii_model_uses_lumii_repo(self): @@ -680,7 +680,7 @@ class TestModelDownloaderWhisperCpp: mock_dl.assert_called_once() assert mock_dl.call_args.kwargs["repo_id"] == WHISPER_CPP_LUMII_REPO_ID downloader.signals.finished.emit.assert_called_once_with( - f"/lumii/path/ggml-{model_name}.bin" + os.path.join("/lumii/path", f"ggml-{model_name}.bin") ) def test_custom_url_calls_download_model_to_path(self):