← 输入框|github.com|刷新
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/smoketest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ def send_document(
("fake.odt", "application/vnd.oasis.opendocument.text"),
# Note(austin) The two inference calls will hang on mac with unsupported hardware error
# Skip these with SKIP_INFERENCE_TESTS=true make docker-test
pytest.param(
"layout-parser-paper.pdf.gz",
"application/gzip",
marks=pytest.mark.skipif(skip_inference_tests, reason="emulated architecture"),
),
pytest.param(
"layout-parser-paper.pdf",
"application/pdf",
Expand All @@ -94,7 +99,6 @@ def send_document(
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
),
("fake-xml.xml", "text/xml"),
("layout-parser-paper.pdf.gz", "application/gzip"),
],
)
def test_happy_path(example_filename: str, content_type: str):
Expand Down