1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Clean up test

This commit is contained in:
Philipp Hagemeister 2012-11-27 12:46:27 +01:00
parent 56781d3d2e
commit c7032546f1

View File

@ -58,7 +58,6 @@ class TestUtil(unittest.TestCase):
forbidden = u'"\0\\/&: \'\t\n' forbidden = u'"\0\\/&: \'\t\n'
for fc in forbidden: for fc in forbidden:
print('input: ' + fc + ', result: ' + repr(sanitize_filename(fc, restricted=True)))
for fbc in forbidden: for fbc in forbidden:
self.assertTrue(fbc not in sanitize_filename(fc, restricted=True)) self.assertTrue(fbc not in sanitize_filename(fc, restricted=True))