Skip to content

Commit

Permalink
Fix docx test to check both paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
paskett committed Jan 20, 2024
1 parent be0d95a commit 1eaabbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/core/test_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ def test_docx(tmp_path):
assert isinstance(tmp_docx_document.handler, DocxDocumentHandler)
pages = list(tmp_docx_document.extract_pages())
assert len(pages) == 2
page = pages[0]
print(page.text)
assert page.text == docx_text
for page in pages:
assert page.text == docx_text

0 comments on commit 1eaabbb

Please sign in to comment.