projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a2e94
)
Instead of replacing accented characters with an underscore when sanitizing file...
author
Adam Thalhammer
<s3544305@student.rmit.edu.au>
Mon, 2 May 2016 03:25:12 +0000
(13:25 +1000)
committer
Adam Thalhammer
<s3544305@student.rmit.edu.au>
Mon, 2 May 2016 03:25:12 +0000
(13:25 +1000)
test/test_utils.py
patch
|
blob
|
history
diff --git
a/test/test_utils.py
b/test/test_utils.py
index 0072ba241978b11738051dae4ae64a025d0de34b..00ada95ecabf05ed761f3e6a5bff1c810bc5a00c 100644
(file)
--- a/
test/test_utils.py
+++ b/
test/test_utils.py
@@
-158,7
+158,6
@@
class TestUtil(unittest.TestCase):
self.assertEqual(sanitize_filename(
'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ', restricted=True),
'AAAAAAAECEEEEIIIIDNOOOOOOUUUUYPssaaaaaaaeceeeeiiiionoooooouuuuypy')
- pass
def test_sanitize_ids(self):
self.assertEqual(sanitize_filename('_n_cd26wFpw', is_id=True), '_n_cd26wFpw')