fix full channel test
This commit is contained in:
parent
915c29b626
commit
c5557d5b99
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue