test(840-3): 원파일 업로드 시험 낡은 칸 고침 — STmate 원파일 호표 0 → 45 · 단가산출표 시트는 s1 로 찾음
- 까닭: 828-1 이 STmate 원파일 구성표 일위대가를 HP 호표(45)와 앞쪽 「일위대가표」 시트로 넣음(뜻한 바꿈 · test_814_1 은 그때 고침) · test_810_2 만 옛 꼴(호표 0 · 첫 시트 = 단가산출표)로 남아 있었음 - 코드 흠 아님 — 엔진 그대로 · test_810_2 20 통과 · test_810_3 16 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -220,8 +220,9 @@ def test_upload_native_one_file_list_only(world) -> None:
|
||||
ans = dim.run(dim.of(sk), sk)
|
||||
assert (ans["노무비"], ans["재료비"], ans["경비"]) == (74880, 7029, 12306)
|
||||
st = fh.upload_native(folder, stc.name, stc.read_bytes(), WHO)
|
||||
assert st["원파일"] and st["호표수"] == 0
|
||||
head = hs.grid(folder, st["키"])["책"]["시트"][0]["칸"]
|
||||
assert st["원파일"] and st["호표수"] == 45 # 828-1 STmate 구성표 일위대가
|
||||
sheets = hs.grid(folder, st["키"])["책"]["시트"] # 828-1 「일위대가표」 시트가 앞
|
||||
head = next(s for s in sheets if s["id"] == "s1")["칸"]
|
||||
assert head["A1"]["값"] == "코드" and str(head["A2"]["값"]).startswith("D")
|
||||
made = fh.make(folder, st["키"], next(iter(fn.numbers(native("STC", "봉화")))))
|
||||
assert made["검산"]["같음"]
|
||||
|
||||
Reference in New Issue
Block a user