Spaces:
Running
on
Zero
Running
on
Zero
adjusted tests
Browse files- tests/test_main.py +1 -1
tests/test_main.py
CHANGED
|
@@ -488,7 +488,7 @@ def test_process_user_input_pdf_error_handling():
|
|
| 488 |
|
| 489 |
# Second item should be error message
|
| 490 |
assert result[1]["type"] == "text"
|
| 491 |
-
assert "
|
| 492 |
|
| 493 |
finally:
|
| 494 |
# Clean up
|
|
|
|
| 488 |
|
| 489 |
# Second item should be error message
|
| 490 |
assert result[1]["type"] == "text"
|
| 491 |
+
assert "Failed to extract text from PDF:" in result[1]["text"]
|
| 492 |
|
| 493 |
finally:
|
| 494 |
# Clean up
|