Skip to content

Commit

Permalink
πŸ”€ Fix error messages for failed integration tests (#98)
Browse files Browse the repository at this point in the history
Previously it would just print `unexpected error` and exit all of the
tests, giving no reason or error message why and what tests failed.
  • Loading branch information
mpolomdeepsense committed May 31, 2024
1 parent cb94407 commit cf36a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _test_unstructured_client/integration/test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_integration_split_pdf_has_same_output_as_non_split(
assert "File does not appear to be a valid PDF" in str(exc)
return
else:
pytest.exit("unexpected error", returncode=1)
assert exc is None

req.split_pdf_page = False
resp_single = client.general.partition(req)
Expand Down

0 comments on commit cf36a97

Please sign in to comment.