From: Marcin Koziej Date: Mon, 5 Dec 2011 13:04:50 +0000 (+0100) Subject: fix test for custom pdf file generation X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/fd9768648fe3e37115655245f7fe7aba2adcc5e5?hp=5a605e04abaa18a80e391c5cc26c48e0125d6f3c fix test for custom pdf file generation --- diff --git a/apps/catalogue/tests/book_import.py b/apps/catalogue/tests/book_import.py index f6110d0be..f4588d169 100644 --- 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)) - 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))