From c5557d5b99633c108ab9774053d0fc9b6262c6eb Mon Sep 17 00:00:00 2001 From: jbannon Date: Tue, 14 Jun 2022 06:32:34 +0000 Subject: [PATCH] fix full channel test --- tests/e2e/youtube/test_channel_as_kodi_tv_show.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/youtube/test_channel_as_kodi_tv_show.py b/tests/e2e/youtube/test_channel_as_kodi_tv_show.py index 12357e1b..b8d44f6f 100644 --- a/tests/e2e/youtube/test_channel_as_kodi_tv_show.py +++ b/tests/e2e/youtube/test_channel_as_kodi_tv_show.py @@ -37,7 +37,7 @@ def subscription_dict(output_directory, subscription_name): "ytdl_options": { "format": "worst[ext=mp4]", "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"}, } @@ -133,7 +133,7 @@ def expected_full_channel_download(): @pytest.fixture def recent_channel_subscription_dict(subscription_dict): # 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( subscription_dict, {