We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9de91 commit c88cbc3Copy full SHA for c88cbc3
_test_unstructured_client/unit/test_pdf_utils.py
@@ -23,6 +23,7 @@ def test_check_pdf_with_valid_pdf():
23
assert isinstance(result, PdfReader)
24
25
26
+# TODO(klaijan) - add pdf file when file is ready
27
@pytest.mark.parametrize(
28
("pdf_name", "expected_error_message"),
29
[
@@ -38,13 +39,6 @@ def test_check_pdf_with_valid_pdf():
38
39
"failing-missing-pages.pdf",
40
"File does not appear to be a valid PDF. Error: Invalid object in /Pages",
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
48
],
49
)
50
def test_check_pdf_raises_pdf_validation_error(
0 commit comments