fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cutting stuff out.
[wolnelektury.git]
/
src
/
catalogue
/
test_utils.py
diff --git
a/src/catalogue/test_utils.py
b/src/catalogue/test_utils.py
index
6bc5569
..
c15cba7
100644
(file)
--- 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'},
},
CACHES={
'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'},
},
- SOLR=settings.SOLR_TEST,
)
class WLTestCase(TestCase):
"""
)
class WLTestCase(TestCase):
"""
@@
-74,7
+73,7
@@
def info_args(title, language=None):
language = 'pol'
return {
'title': str(title),
language = 'pol'
return {
'title': str(title),
- 'url': WLURI
.from_slug
(slug),
+ 'url': WLURI(slug),
'about': "http://wolnelektury.pl/example/URI/%s" % slug,
'language': language,
}
'about': "http://wolnelektury.pl/example/URI/%s" % slug,
'language': language,
}