mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
[py3] Made 212b9826bd Python 3-friendly
This commit is contained in:
@@ -116,8 +116,8 @@ class TestUtilsText(SimpleTestCase):
|
||||
|
||||
def test_slugify(self):
|
||||
items = (
|
||||
(u'Hello, World!', 'hello-world'),
|
||||
(u'spam & eggs', 'spam-eggs'),
|
||||
('Hello, World!', 'hello-world'),
|
||||
('spam & eggs', 'spam-eggs'),
|
||||
)
|
||||
for value, output in items:
|
||||
self.assertEqual(text.slugify(value), output)
|
||||
|
||||
Reference in New Issue
Block a user