fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nonexistent field
[wolnelektury.git]
/
src
/
catalogue
/
test_utils.py
diff --git
a/src/catalogue/test_utils.py
b/src/catalogue/test_utils.py
index
6ad67c7
..
9ea0c1c
100644
(file)
--- a/
src/catalogue/test_utils.py
+++ b/
src/catalogue/test_utils.py
@@
-13,7
+13,7
@@
from librarian import WLURI
@override_settings(
MEDIA_ROOT=tempfile.mkdtemp(prefix='djangotest_'),
@override_settings(
MEDIA_ROOT=tempfile.mkdtemp(prefix='djangotest_'),
- CATALOGUE_DONT_BUILD={'pdf', 'mobi', 'epub', 'txt', 'fb2', 'cover'},
+ CATALOGUE_DONT_BUILD={'pdf', 'mobi', 'epub', 'txt', 'fb2', 'cover'
, 'html_nonotes', 'references'
},
NO_SEARCH_INDEX=True,
CELERY_TASK_ALWAYS_EAGER=True,
CACHES={
NO_SEARCH_INDEX=True,
CELERY_TASK_ALWAYS_EAGER=True,
CACHES={
@@
-90,7
+90,3
@@
def get_fixture(path, app=None):
mod_path = extract_stack(limit=2)[0][0]
f_path = join(dirname(abspath(mod_path)), 'files', path)
return f_path
mod_path = extract_stack(limit=2)[0][0]
f_path = join(dirname(abspath(mod_path)), 'files', path)
return f_path
-
-
-def get_mp3_length(path):
- return 60