X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..36fe056c9c23f0843f1d391b100b7f622ccd4ef7:/src/catalogue/test_utils.py?ds=inline diff --git a/src/catalogue/test_utils.py b/src/catalogue/test_utils.py index 497b99545..18c567406 100644 --- a/src/catalogue/test_utils.py +++ b/src/catalogue/test_utils.py @@ -7,7 +7,7 @@ import tempfile from traceback import extract_stack from django.test import TestCase from django.test.utils import override_settings -from fnpdjango.utils.text.slughifi import slughifi +from slugify import slugify from librarian import WLURI from django.conf import settings @@ -72,7 +72,7 @@ class BookInfoStub(object): def info_args(title, language=None): """ generate some keywords for comfortable BookInfoCreation """ - slug = unicode(slughifi(title)) + slug = unicode(slugify(title)) if language is None: language = u'pol' return {