mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-22 03:49:18 +03:00
Rename 'notrim' option to 'none' to be consistent with other options
This commit is contained in:
@@ -715,7 +715,7 @@ class TestYoutubeDL(unittest.TestCase):
|
||||
def test_prepare_outtmpl_and_filename(self):
|
||||
def test(tmpl, expected, *, info=None, **params):
|
||||
if 'trim_file_name' not in params:
|
||||
params['trim_file_name'] = 'notrim' # disable trimming
|
||||
params['trim_file_name'] = 'none' # disable trimming
|
||||
params['outtmpl'] = tmpl
|
||||
ydl = FakeYDL(params)
|
||||
ydl._num_downloads = 1
|
||||
|
||||
Reference in New Issue
Block a user