Fix: Scanner availability for series addition
- Change 'scanner' to 'serie_scanner' attribute name - Update tests to match SeriesApp attribute naming - Scanner now properly detected and called on add - All add_series tests passing (9/9)
This commit is contained in:
@@ -42,7 +42,7 @@ class FakeSeriesApp:
|
||||
def __init__(self):
|
||||
"""Initialize fake series app."""
|
||||
self.list = self # Changed from self.List to self.list
|
||||
self.scanner = FakeScanner() # Add fake scanner
|
||||
self.serie_scanner = FakeScanner() # Add fake scanner (matches SeriesApp attribute name)
|
||||
self.directory = "/tmp/fake_anime"
|
||||
self.keyDict = {} # Add keyDict for direct access
|
||||
self._items = [
|
||||
|
||||
Reference in New Issue
Block a user