diff --git a/BillNote_frontend/src-tauri/tauri.conf.json b/BillNote_frontend/src-tauri/tauri.conf.json index eb432d1..2993263 100644 --- a/BillNote_frontend/src-tauri/tauri.conf.json +++ b/BillNote_frontend/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "BiliNote", - "version": "2.4.4", + "version": "2.4.5", "identifier": "com.jefferyhuang.bilinote", "build": { "frontendDist": "../dist", @@ -43,4 +43,4 @@ "icons/icon.png" ] } -} \ No newline at end of file +} diff --git a/backend/tests/test_youtube_metadata_only.py b/backend/tests/test_youtube_metadata_only.py index c2e807e..34b5fa5 100644 --- a/backend/tests/test_youtube_metadata_only.py +++ b/backend/tests/test_youtube_metadata_only.py @@ -31,7 +31,11 @@ def _stub(name, **attrs): module = types.ModuleType(name) for key, value in attrs.items(): setattr(module, key, value) - sys.modules.setdefault(name, module) + # Tests in this repository load downloader modules with lightweight app + # stubs. Replace a previous test's stub instead of inheriting it; otherwise + # a prior import can leave AudioDownloadResult as ``object`` and turn this + # metadata-only test into a TypeError unrelated to the behavior under test. + sys.modules[name] = module return module