Rename 'notrim' option to 'none' to be consistent with other options

This commit is contained in:
7x11x13
2025-02-17 10:22:49 -05:00
parent 5c1f6e7329
commit d482cee11d
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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