Skip to content

Commit

Permalink
TST: Increase PdfReader coverage (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Aug 8, 2022
1 parent f172e43 commit 2df8a4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PyPDF2/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def outline(self) -> OutlineType:
return self._get_outline()

@property
def outlines(self) -> OutlineType:
def outlines(self) -> OutlineType: # pragma: no cover
"""
.. deprecated:: 2.9.0
Expand Down
4 changes: 4 additions & 0 deletions tests/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ def test_image_extraction2(url, name):
"https://corpora.tika.apache.org/base/docs/govdocs1/918/918137.pdf",
"tika-918137.pdf",
),
(
"https://unglueit-files.s3.amazonaws.com/ebf/7552c42e9280b4476e59e77acc0bc812.pdf",
"7552c42e9280b4476e59e77acc0bc812.pdf",
),
],
)
def test_get_outline(url, name):
Expand Down

0 comments on commit 2df8a4c

Please sign in to comment.