X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb383b976ed875888b261bf5901ee484aa2dcf8f..3596cf9db6eabb5f0aa36afe7919bc40e8ff0b9a:/src/catalogue/test_utils.py diff --git a/src/catalogue/test_utils.py b/src/catalogue/test_utils.py index 6bc5569c6..c15cba717 100644 --- a/src/catalogue/test_utils.py +++ b/src/catalogue/test_utils.py @@ -19,7 +19,6 @@ from librarian import WLURI CACHES={ 'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}, }, - SOLR=settings.SOLR_TEST, ) class WLTestCase(TestCase): """ @@ -74,7 +73,7 @@ def info_args(title, language=None): language = 'pol' return { 'title': str(title), - 'url': WLURI.from_slug(slug), + 'url': WLURI(slug), 'about': "http://wolnelektury.pl/example/URI/%s" % slug, 'language': language, }