Instead of replacing accented characters with an underscore when sanitizing file...
authorAdam Thalhammer <s3544305@student.rmit.edu.au>
Mon, 2 May 2016 03:25:12 +0000 (13:25 +1000)
committerAdam Thalhammer <s3544305@student.rmit.edu.au>
Mon, 2 May 2016 03:25:12 +0000 (13:25 +1000)
test/test_utils.py

index 0072ba241978b11738051dae4ae64a025d0de34b..00ada95ecabf05ed761f3e6a5bff1c810bc5a00c 100644 (file)
@@ -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')