mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-06 06:52:20 +02:00
23 lines
743 B
Python
23 lines
743 B
Python
from src.clean_agent_preview import successful_duplicate_recovery_message
|
|
|
|
|
|
def test_duplicate_pdf_recovery_names_missing_artifacts_and_next_tools(tmp_path):
|
|
prompt = (
|
|
"Read /workspace/fixtures/paper.pdf and create "
|
|
"/workspace/results.csv and /workspace/chart.png"
|
|
)
|
|
|
|
message = successful_duplicate_recovery_message(
|
|
"pdf_extract",
|
|
"withheld for the next correction round",
|
|
prompt,
|
|
str(tmp_path),
|
|
{"url": "/workspace/fixtures/paper.pdf", "query": "Figure 5"},
|
|
)
|
|
|
|
assert "/workspace/results.csv" in message
|
|
assert "/workspace/chart.png" in message
|
|
assert "python or write_file" in message
|
|
assert "inspect_media" in message
|
|
assert "pages" in message
|