test(m01-sl): 품셈 표 블록 왼위 = 「표」 바깥 알약 칸(E1) 시험
- 서버 저장 다시 넣기는 이미 알약 칸에서 펼침 — 고정 A1 아님을 시험으로 남김 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KmELpdXFDRZHhfbGuRhSmL
This commit is contained in:
@@ -168,8 +168,13 @@ def test_저장_열기_목록_지우기_서버가_다시_셈(client: TestClient,
|
||||
v["ok"] for v in answers.values()
|
||||
)
|
||||
|
||||
second = _post(client, "/api/m01/sl/save", {"logic": _logic(labor)})
|
||||
# 블록 왼위 = 표 상자 「표」 바깥 알약 칸(고정 A1 아님 — Import 는 E1)
|
||||
at_e1 = _logic(labor)
|
||||
at_e1["nodes"][1]["pillsOut"][0]["cell"] = "E1"
|
||||
second = _post(client, "/api/m01/sl/save", {"logic": at_e1})
|
||||
assert second["key"] == "SL-0002"
|
||||
moved = second["logic"]["workbook"]["시트"][1]["칸"]
|
||||
assert moved["E1"]["값"] == "돌" and moved["I2"]["값"] == "80,100" and "A1" not in moved
|
||||
renamed = {**saved["logic"], "name": "고친 이름"}
|
||||
assert _post(client, "/api/m01/sl/save", {"logic": renamed})["key"] == "SL-0001"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user