fix full channel test

This commit is contained in:
jbannon 2022-06-14 06:32:34 +00:00
parent 915c29b626
commit c5557d5b99

View file

@ -37,7 +37,7 @@ def subscription_dict(output_directory, subscription_name):
"ytdl_options": { "ytdl_options": {
"format": "worst[ext=mp4]", "format": "worst[ext=mp4]",
"max_views": 100000, # do not download the popular PJ concert "max_views": 100000, # do not download the popular PJ concert
"RejectedVideoReached": False, # do not break from max views "break_on_reject": False, # do not break from max views
}, },
"overrides": {"tv_show_name": "Project / Zombie"}, "overrides": {"tv_show_name": "Project / Zombie"},
} }
@ -133,7 +133,7 @@ def expected_full_channel_download():
@pytest.fixture @pytest.fixture
def recent_channel_subscription_dict(subscription_dict): def recent_channel_subscription_dict(subscription_dict):
# TODO: remove this hack by using a different channel # TODO: remove this hack by using a different channel
del subscription_dict["ytdl_options"]["RejectedVideoReached"] del subscription_dict["ytdl_options"]["break_on_reject"]
return mergedeep.merge( return mergedeep.merge(
subscription_dict, subscription_dict,
{ {