mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
refactor(runtime): tighten resource cleanup and test isolation (#6116)
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user