fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tighter sponsors html, every pageview gets ~10kB lighter.
[wolnelektury.git]
/
apps
/
catalogue
/
tests
/
book_import.py
diff --git
a/apps/catalogue/tests/book_import.py
b/apps/catalogue/tests/book_import.py
index
08d5243
..
4b01a8f
100644
(file)
--- a/
apps/catalogue/tests/book_import.py
+++ b/
apps/catalogue/tests/book_import.py
@@
-435,8
+435,7
@@
class BookImportGenerateTest(WLTestCase):
def test_custom_pdf(self):
from catalogue.tasks import build_custom_pdf
def test_custom_pdf(self):
from catalogue.tasks import build_custom_pdf
- from catalogue.utils import get_dynamic_path
- out = get_dynamic_path(None, 'test-custom', ext='pdf')
+ out = 'test-custom.pdf'
absoulute_path = path.join(settings.MEDIA_ROOT, out)
if not path.exists(path.dirname(absoulute_path)):
absoulute_path = path.join(settings.MEDIA_ROOT, out)
if not path.exists(path.dirname(absoulute_path)):