X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5eeb9dace6068f83e2b70b5222cfab0c0a5e71eb..2bc3e47beb1e3b9fa5274b9ace88e15cbd57b344:/apps/catalogue/tests/book_import.py diff --git a/apps/catalogue/tests/book_import.py b/apps/catalogue/tests/book_import.py index 6ece3287e..904c1bf1d 100644 --- a/apps/catalogue/tests/book_import.py +++ b/apps/catalogue/tests/book_import.py @@ -297,7 +297,7 @@ class BookImportGenerateTest(WLTestCase): self.assertTrue(path.exists(parent.pdf_file.path)) def test_custom_pdf(self): - from catalogue.tasks import build_custom_pdf + from catalogue.utils import build_custom_pdf out = models.get_dynamic_path(None, 'test-custom', ext='pdf') absoulute_path = path.join(settings.MEDIA_ROOT, out)