Skip to content

Commit c88cbc3

Browse files
committed
fix test
1 parent 9e9de91 commit c88cbc3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

_test_unstructured_client/unit/test_pdf_utils.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def test_check_pdf_with_valid_pdf():
2323
assert isinstance(result, PdfReader)
2424

2525

26+
# TODO(klaijan) - add pdf file when file is ready
2627
@pytest.mark.parametrize(
2728
("pdf_name", "expected_error_message"),
2829
[
@@ -38,13 +39,6 @@ def test_check_pdf_with_valid_pdf():
3839
"failing-missing-pages.pdf",
3940
"File does not appear to be a valid PDF. Error: Invalid object in /Pages",
4041
),
41-
# TODO(klaijan) - add pdf file when file is ready
42-
"""
43-
(
44-
".pdf",
45-
"File does not appear to be a valid PDF. Error: Cannot find Root object in pdf"
46-
)
47-
"""
4842
],
4943
)
5044
def test_check_pdf_raises_pdf_validation_error(

0 commit comments

Comments
 (0)