From 915c29b6263d7736ee12cadf9cf216e6e925ca2c Mon Sep 17 00:00:00 2001 From: jbannon Date: Tue, 14 Jun 2022 06:22:24 +0000 Subject: [PATCH] fix with hack --- tests/e2e/youtube/test_channel_as_kodi_tv_show.py | 3 +++ 1 file changed, 3 insertions(+) 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 0c5ad489..12357e1b 100644 --- a/tests/e2e/youtube/test_channel_as_kodi_tv_show.py +++ b/tests/e2e/youtube/test_channel_as_kodi_tv_show.py @@ -37,6 +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 }, "overrides": {"tv_show_name": "Project / Zombie"}, } @@ -131,6 +132,8 @@ def expected_full_channel_download(): # RECENT CHANNEL FIXTURES @pytest.fixture def recent_channel_subscription_dict(subscription_dict): + # TODO: remove this hack by using a different channel + del subscription_dict["ytdl_options"]["RejectedVideoReached"] return mergedeep.merge( subscription_dict, {