fix: 工参导出去掉平台已取消的 --save-dir

平台的 download-file-all-async.py 不再接受 --save-dir,文件固定存到 /workspace。
继续传这个参数时脚本直接拒绝,所以 11 月 16 日的工参一直显示没有保存文件。
This commit is contained in:
2026-11-23 17:48:50 +08:00
parent 717153db30
commit 997def4df7
5 changed files with 27 additions and 30 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ def test_sql_and_prompt_never_carry_iso_dates():
def test_export_file_paths_and_retry_names():
item = lte_file("lte_nbr_x1.csv", phase="after")
assert item.path == "/workspace/tasks/t1/after/lte_nbr_x1.csv"
assert item.path == "/workspace/lte_nbr_x1.csv"
assert "--save-dir" not in item.command() and '--filename "lte_nbr_x1.csv"' in item.command()
first = item.retry(1)
second = first.retry(2)
assert (first.filename, second.filename) == ("lte_nbr_x1_r1.csv", "lte_nbr_x1_r2.csv")