def test_to_pdf_with_references(self): doc = Document(['woo', self.citation, self.bibliography]) doc.to_pdf(GENERATED_FILES_DIR, outname='document with references') compare_pdfs(INPUT_FILES_DIR / 'document with references.pdf', GENERATED_FILES_DIR / 'document with references.pdf')
def test_to_pdf(self): doc = Document('woo') doc.to_pdf(GENERATED_FILES_DIR) compare_pdfs(INPUT_FILES_DIR / 'document.pdf', GENERATED_FILES_DIR / 'document.pdf')