fix test for custom pdf file generation
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 5 Dec 2011 13:04:50 +0000 (14:04 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 5 Dec 2011 13:04:50 +0000 (14:04 +0100)
apps/catalogue/tests/book_import.py

index f6110d0..f4588d1 100644 (file)
@@ -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))