mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-01 21:07:01 +08:00
test(download): define blacklist state in credential fixtures
This commit is contained in:
@@ -29,6 +29,7 @@ def boundary(monkeypatch):
|
||||
chain.site_repository.list.return_value = [SITE]
|
||||
chain.post_message = Mock()
|
||||
helper = Mock()
|
||||
helper.is_invalid.return_value = False
|
||||
helper.download_torrent.return_value = CONTENT
|
||||
monkeypatch.setattr(submission, "TorrentHelper", Mock(return_value=helper))
|
||||
return chain, helper
|
||||
|
||||
Reference in New Issue
Block a user