mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
parent
b5c5d84f60
commit
639f1cea92
4 changed files with 11 additions and 2 deletions
|
@ -126,6 +126,7 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertTrue(timeconvert('bougrg') is None)
|
||||
|
||||
def test_sanitize_filename(self):
|
||||
self.assertEqual(sanitize_filename(''), '')
|
||||
self.assertEqual(sanitize_filename('abc'), 'abc')
|
||||
self.assertEqual(sanitize_filename('abc_d-e'), 'abc_d-e')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue