only test non-cli video test

This commit is contained in:
Jesse Bannon 2023-04-28 19:19:44 -07:00
parent 734dfb1016
commit bb8f64eabd
6 changed files with 15 additions and 16 deletions

View file

@ -3,7 +3,6 @@ from conftest import preset_dict_to_dl_args
from e2e.conftest import mock_run_from_cli from e2e.conftest import mock_run_from_cli
from expected_download import assert_expected_downloads from expected_download import assert_expected_downloads
from expected_transaction_log import assert_transaction_log_matches from expected_transaction_log import assert_transaction_log_matches
from mergedeep import mergedeep
from ytdl_sub.subscriptions.subscription import Subscription from ytdl_sub.subscriptions.subscription import Subscription
@ -22,13 +21,6 @@ def single_video_preset_dict(output_directory):
"ytdl_options": { "ytdl_options": {
"format": "worst[ext=mp4]", "format": "worst[ext=mp4]",
}, },
# test override variables added by ytdl-sub
"nfo_tags": {
"tags": {
"subscription_name": "{subscription_name}",
"subscription_name_sanitized": "{subscription_name_sanitized}",
}
},
# also test video tags # also test video tags
"video_tags": { "video_tags": {
"tags": { "tags": {
@ -56,6 +48,13 @@ def single_tv_show_video_nulled_values_preset_dict(output_directory):
"format": "worst[ext=mp4]", "format": "worst[ext=mp4]",
"max_downloads": 2, "max_downloads": 2,
}, },
# test override variables added by ytdl-sub
"nfo_tags": {
"tags": {
"subscription_name": "{subscription_name}",
"subscription_name_sanitized": "{subscription_name_sanitized}",
}
},
"overrides": { "overrides": {
"url": "https://www.youtube.com/@ProjectZombie603", "url": "https://www.youtube.com/@ProjectZombie603",
"tv_show_name": "Project Zombie", "tv_show_name": "Project Zombie",

View file

@ -1,6 +1,6 @@
{ {
"JMC/JMC - Oblivion Mod Falcor p.1-thumb.jpg": "fb95b510681676e81c321171fc23143e", "JMC/JMC - Oblivion Mod Falcor p.1-thumb.jpg": "fb95b510681676e81c321171fc23143e",
"JMC/JMC - Oblivion Mod Falcor p.1.info.json": "1b12a13b9db6d37b350a57c7e6f37026", "JMC/JMC - Oblivion Mod Falcor p.1.info.json": "59ac500bb4778b37bd8c8fb472269e95",
"JMC/JMC - Oblivion Mod Falcor p.1.mp4": "3744c49f2e447bd7712a5aad5ed36be2", "JMC/JMC - Oblivion Mod Falcor p.1.mp4": "3744c49f2e447bd7712a5aad5ed36be2",
"JMC/JMC - Oblivion Mod Falcor p.1.nfo": "22e9d46ea7c243ac1f255adfd6c131ec" "JMC/JMC - Oblivion Mod Falcor p.1.nfo": "24cc4e17d2bebc89b2759ce5471d403e"
} }

View file

@ -1,6 +1,6 @@
{ {
"JMC/JMC - Oblivion Mod Falcor p.1-thumb.jpg": "fb95b510681676e81c321171fc23143e", "JMC/JMC - Oblivion Mod Falcor p.1-thumb.jpg": "fb95b510681676e81c321171fc23143e",
"JMC/JMC - Oblivion Mod Falcor p.1.info.json": "57de511c9a97b1605165486875e73bc2", "JMC/JMC - Oblivion Mod Falcor p.1.info.json": "2ad1e593fc1c50a53a107db062e82c4a",
"JMC/JMC - Oblivion Mod Falcor p.1.mp4": "3744c49f2e447bd7712a5aad5ed36be2", "JMC/JMC - Oblivion Mod Falcor p.1.mp4": "3744c49f2e447bd7712a5aad5ed36be2",
"JMC/JMC - Oblivion Mod Falcor p.1.nfo": "d5cc3019c647f77ca42eb1ad1e777f6d" "JMC/JMC - Oblivion Mod Falcor p.1.nfo": "24cc4e17d2bebc89b2759ce5471d403e"
} }

View file

@ -11,7 +11,5 @@ Files created:
musicvideo: musicvideo:
album: Music Videos album: Music Videos
artist: JMC artist: JMC
subscription_name: music_video_single_video_test
subscription_name_sanitized: music_video_single_video_test
title: Oblivion Mod "Falcor" p.1 title: Oblivion Mod "Falcor" p.1
year: 2010 year: 2010

View file

@ -11,7 +11,5 @@ Files created:
musicvideo: musicvideo:
album: Music Videos album: Music Videos
artist: JMC artist: JMC
subscription_name: cli-dl-0302c976
subscription_name_sanitized: cli-dl-0302c976
title: Oblivion Mod "Falcor" p.1 title: Oblivion Mod "Falcor" p.1
year: 2010 year: 2010

View file

@ -43,6 +43,8 @@ Files created:
This is the first time I've really used the editor, and the beginning of our first mod. Hope you enjoy. This is the first time I've really used the editor, and the beginning of our first mod. Hope you enjoy.
season: 2010 season: 2010
subscription_name: tv_video_nulled_values
subscription_name_sanitized: tv_video_nulled_values
title: 2010-08-13 - Oblivion Mod "Falcor" p.1 title: 2010-08-13 - Oblivion Mod "Falcor" p.1
year: 2010 year: 2010
s2010.e000002 - Oblivion Mod Falcor p.2.mp4 s2010.e000002 - Oblivion Mod Falcor p.2.mp4
@ -78,5 +80,7 @@ Files created:
Please keep in mind that the mod is not complete, so you'll see some blank areas during the video. I haven't made LOD (Level of Distance) yet either, so areas far away will not appear. Please keep in mind that the mod is not complete, so you'll see some blank areas during the video. I haven't made LOD (Level of Distance) yet either, so areas far away will not appear.
season: 2010 season: 2010
subscription_name: tv_video_nulled_values
subscription_name_sanitized: tv_video_nulled_values
title: 2010-12-02 - Oblivion Mod "Falcor" p.2 title: 2010-12-02 - Oblivion Mod "Falcor" p.2
year: 2010 year: 2010