fix tests

This commit is contained in:
2025-11-15 12:35:51 +01:00
parent f91875f6fc
commit f49598d82b
11 changed files with 7107 additions and 2006 deletions

View File

@@ -18,6 +18,7 @@ class FakeSerie:
self.name = name
self.folder = folder
self.episodeDict = episodeDict or {}
self.site = "aniworld.to" # Add site attribute
class FakeSeriesApp:
@@ -25,7 +26,7 @@ class FakeSeriesApp:
def __init__(self):
"""Initialize fake series app."""
self.List = self
self.list = self # Changed from self.List to self.list
self._items = [
FakeSerie("1", "Test Show", "test_show", {1: [1, 2]}),
FakeSerie("2", "Complete Show", "complete_show", {}),