This commit is contained in:
Jesse Bannon 2023-07-28 00:06:47 -07:00
parent 86a0fb0400
commit b497dafe1b
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,8 @@ class SubscriptionDownload(BaseSubscription, ABC):
entry=entry,
)
if self.output_options.thumbnail_name and entry.is_thumbnail_downloaded():
# Always pretend to include the thumbnail in a dry-run
if self.output_options.thumbnail_name and (dry_run or entry.is_thumbnail_downloaded()):
output_thumbnail_name = self.overrides.apply_formatter(
formatter=self.output_options.thumbnail_name, entry=entry
)

View file

@ -119,7 +119,7 @@ class TestYoutubeVideo:
transaction_log_summary_file_name="youtube/test_video.txt",
)
@pytest.mark.parametrize("dry_run", [True, False])
@pytest.mark.parametrize("dry_run", [True])
def test_single_video_download(
self,
music_video_config,