diff options
author | bzc6p <bzc6p@users.noreply.github.com> | 2016-06-02 11:39:32 +0200 |
---|---|---|
committer | bzc6p <bzc6p@users.noreply.github.com> | 2016-06-02 11:39:32 +0200 |
commit | b96f007eeb432cdd118fb4cfa027dfa36b0ea0f2 (patch) | |
tree | 5827b9d2a07e9195544c7afa60855a3076318fcb /test | |
parent | 9a4aec8b7ea2c0863bc03ba8f3d3e69a61e77c80 (diff) |
Added sanitization support for Hungarian letters Ő and Ű
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 a697232a8..feef80465 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -157,8 +157,8 @@ class TestUtil(unittest.TestCase): self.assertTrue(sanitize_filename(':', restricted=True) != '') self.assertEqual(sanitize_filename( - 'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØŒÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøœùúûüýþÿ', restricted=True), - 'AAAAAAAECEEEEIIIIDNOOOOOOOEUUUUYPssaaaaaaaeceeeeiiiionoooooooeuuuuypy') + 'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐØŒÙÚÛÜŰÝÞßàáâãäåæçèéêëìíîïðñòóôõöőøœùúûüűýþÿ', restricted=True), + 'AAAAAAAECEEEEIIIIDNOOOOOOOOEUUUUUYPssaaaaaaaeceeeeiiiionooooooooeuuuuuypy') def test_sanitize_ids(self): self.assertEqual(sanitize_filename('_n_cd26wFpw', is_id=True), '_n_cd26wFpw') |