3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/awesome-slugify/slugify_filename_test.patch

14 lines
524 B
Diff
Raw Normal View History

2017-09-15 20:04:19 +01:00
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):