mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-28 19:06:19 -05:00
Fixing typing.
This commit is contained in:
parent
d56c8fde24
commit
e7c920f382
2 changed files with 2 additions and 2 deletions
|
|
@ -435,7 +435,7 @@ def test_channel_downloader_hidden(video_download_manager):
|
|||
ChannelDownloader should not be presented to the User.
|
||||
"""
|
||||
downloaders = video_download_manager.list_downloaders()
|
||||
assert downloaders == [(dict(name='video', pretty_name='Videos')), ]
|
||||
assert [i.__json__() for i in downloaders] == [(dict(name='video', pretty_name='Videos')), ]
|
||||
|
||||
|
||||
def test_bad_downloader(test_session, video_download_manager):
|
||||
|
|
|
|||
|
|
@ -532,7 +532,7 @@ class DownloadManager:
|
|||
download.last_successful_download < one_month:
|
||||
session.delete(download)
|
||||
|
||||
def list_downloaders(self) -> List[Dict]:
|
||||
def list_downloaders(self) -> List[Downloader]:
|
||||
"""
|
||||
Return a list of the Downloaders available on this Download Manager.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue