fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix test for custom pdf file generation
[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
f6110d0
..
f4588d1
100644
(file)
--- a/
apps/catalogue/tests/book_import.py
+++ b/
apps/catalogue/tests/book_import.py
@@
-266,5
+266,5
@@
class BookImportGenerateTest(WLTestCase):
if not path.exists(path.dirname(absoulute_path)):
makedirs(path.dirname(absoulute_path))
if not path.exists(path.dirname(absoulute_path)):
makedirs(path.dirname(absoulute_path))
- self.book.build_pdf(customizations=['nofootnotes', '13pt', 'a4paper'], file_name=
'test-custom'
)
+ self.book.build_pdf(customizations=['nofootnotes', '13pt', 'a4paper'], file_name=
out
)
self.assertTrue(path.exists(absoulute_path))
self.assertTrue(path.exists(absoulute_path))