mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[py3] Made 212b9826bd
Python 3-friendly
This commit is contained in:
parent
de3ad8bb2d
commit
afc1bd7ab8
3 changed files with 11 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue