My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/awesome-slugify/slugify_filename_test.patch

13 lines
524 B

diff --git i/slugify/tests.py w/slugify/tests.py
index 4c9fa1c..3e14328 100644
--- i/slugify/tests.py
+++ w/slugify/tests.py
@@ -57,7 +57,7 @@ class PredefinedSlugifyTestCase(unittest.TestCase):
self.assertEqual(slugify_url('The Über article'), 'uber-article')
def test_slugify_filename(self):
- self.assertEqual(slugify_filename(u'Дrаft №2.txt'), u'Draft_2.txt')
+ self.assertEqual(slugify_filename(u'Дrаft №2.txt'), u'Draft_No._2.txt')
class ToLowerTestCase(unittest.TestCase):