remove redundant test
This commit is contained in:
parent
853f12febe
commit
8b9420ec7f
3 changed files with 0 additions and 62 deletions
|
|
@ -86,39 +86,3 @@ class TestSubtitles:
|
||||||
dry_run=dry_run,
|
dry_run=dry_run,
|
||||||
expected_download_summary_file_name="plugins/test_subtitles_embedded_and_file.json",
|
expected_download_summary_file_name="plugins/test_subtitles_embedded_and_file.json",
|
||||||
)
|
)
|
||||||
|
|
||||||
@pytest.mark.parametrize("dry_run", [True, False])
|
|
||||||
def test_subtitles_chapters_tags_embedded(
|
|
||||||
self,
|
|
||||||
music_video_config,
|
|
||||||
timestamps_file_path,
|
|
||||||
single_video_subs_embed_preset_dict,
|
|
||||||
output_directory,
|
|
||||||
dry_run,
|
|
||||||
):
|
|
||||||
# Test chapters and video tags in addition to subtitles
|
|
||||||
mergedeep.merge(
|
|
||||||
single_video_subs_embed_preset_dict,
|
|
||||||
{
|
|
||||||
"youtube": {"chapter_timestamps": timestamps_file_path},
|
|
||||||
"video_tags": {"tags": {"title": "{title}"}},
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
||||||
subscription = Subscription.from_dict(
|
|
||||||
config=music_video_config,
|
|
||||||
preset_name="subtitles_embedded_test",
|
|
||||||
preset_dict=single_video_subs_embed_preset_dict,
|
|
||||||
)
|
|
||||||
|
|
||||||
transaction_log = subscription.download(dry_run=dry_run)
|
|
||||||
assert_transaction_log_matches(
|
|
||||||
output_directory=output_directory,
|
|
||||||
transaction_log=transaction_log,
|
|
||||||
transaction_log_summary_file_name="plugins/test_subtitles_tags_chapters.txt",
|
|
||||||
)
|
|
||||||
assert_expected_downloads(
|
|
||||||
output_directory=output_directory,
|
|
||||||
dry_run=dry_run,
|
|
||||||
expected_download_summary_file_name="plugins/test_subtitles_tags_chapters.json",
|
|
||||||
)
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind-thumb.jpg": "704246dd78074e8a0ec001dd8d03fd60",
|
|
||||||
"JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.mp4": "e2e60d3e3ff7739d071aa953642980af",
|
|
||||||
"JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.nfo": "ffa10f1cbc098ace7b1c7a8fbe3097a8"
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
Files created in '{output_directory}'
|
|
||||||
----------------------------------------
|
|
||||||
JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind-thumb.jpg
|
|
||||||
JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.mp4
|
|
||||||
Chapters embedded into the video:
|
|
||||||
0:00: Intro
|
|
||||||
0:10: Part 1
|
|
||||||
0:20: Part 2
|
|
||||||
0:30: Part 3
|
|
||||||
0:40: Part 4
|
|
||||||
1:01: Part 5
|
|
||||||
Embedded subtitles with lang(s) en, de
|
|
||||||
Video Tags:
|
|
||||||
title: YouTube Rewind 2019: For the Record | #YouTubeRewind
|
|
||||||
JMC - YouTube Rewind 2019: For the Record | #YouTubeRewind.nfo
|
|
||||||
NFO tags:
|
|
||||||
musicvideo:
|
|
||||||
album: Music Videos
|
|
||||||
artist: JMC
|
|
||||||
title: YouTube Rewind 2019: For the Record | #YouTubeRewind
|
|
||||||
year: 2019
|
|
||||||
Loading…
Reference in a new issue