diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-12 19:48:48 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-12 19:48:48 +0800 |
commit | 778a1ccca7d6cce06faf17867f20b87883d84e98 (patch) | |
tree | e72d49e91355d92ae8082c18340e0933d9dade6c /test | |
parent | 4540515cb3daa0716fa94e54cacb566ef1461ab3 (diff) |
[utils] Add Œ and œ found in French to ACCENT_CHARS
Fixes #9463
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 5702ffa97..ca254779f 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -155,8 +155,8 @@ class TestUtil(unittest.TestCase): self.assertTrue(sanitize_filename(':', restricted=True) != '') self.assertEqual(sanitize_filename( - 'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ', restricted=True), - 'AAAAAAAECEEEEIIIIDNOOOOOOUUUUYPssaaaaaaaeceeeeiiiionoooooouuuuypy') + 'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØŒÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøœùúûüýþÿ', restricted=True), + 'AAAAAAAECEEEEIIIIDNOOOOOOOEUUUUYPssaaaaaaaeceeeeiiiionoooooooeuuuuypy') def test_sanitize_ids(self): self.assertEqual(sanitize_filename('_n_cd26wFpw', is_id=True), '_n_cd26wFpw') |