refactor(runtime): tighten resource cleanup and test isolation (#6116)

This commit is contained in:
InfinityPacer
2026-07-14 16:03:29 +08:00
committed by GitHub
parent e015c67689
commit f814c271cc
21 changed files with 563 additions and 99 deletions
+1
View File
@@ -102,6 +102,7 @@ class EmbyDashboardLinksTest(unittest.TestCase):
with (
patch.object(client, "_Emby__get_emby_librarys") as librarys,
patch.object(client, "_Emby__get_local_image_by_id") as image_by_id,
patch.object(client, "get_items_count", return_value=0),
):
librarys.return_value = [
{