Merge remote-tracking branch 'origin/sub_laptop_5' into sub_laptop_7

This commit is contained in:
2026-11-02 20:46:23 +09:00
5 changed files with 31 additions and 3 deletions
+12
View File
@@ -433,3 +433,15 @@ def test_목록_열_때_뒤_셈_예약(client, monkeypatch):
monkeypatch.setattr(fit, "ensure", lambda folder, key: asked.append(key) or {"끝": False})
rows = client.get(URL.format("personal")).json()["줄"]
assert [r["키"] for r in rows] == asked == ["HP-000001"]
def test_미리_고름_점은_다른_점_1위_출처같음만(client): # 745-1 · 584-3
_ready(client)
got = _hopyo(client, 3)
for name in ("구조물터파기(인력100%)", "구조물되메우기(인력100%)"): # 다른 점 + 출처 같음
cands = got[name]["후보"]
assert got[name]["상태"] == "다른 점" and cands[0]["미리"] is True
assert not any("미리" in c for c in cands[1:]) # 1위만
assert all("미리" not in c for c in got["잔토처리(인력100%)"]["후보"]) # 후보 줄 = 점 없음
ok = _hopyo(client, 1)["레미콘타설(장비사용)"] # 맞음 줄도 점 없음(이미 체크)
assert ok["상태"] == "맞음" and all("미리" not in c for c in ok["후보"])
+3 -1
View File
@@ -119,7 +119,9 @@ def test_분류_고정_폴더_지움_자유_폴더_메뉴_끌어_옮기기():
assert 'item(L("M02_Delete"), () => void remove([target]))' in menu
assert 'opt.scope().canWrite ? undefined : tc("ReadOnly")' in menu # 읽기만 층 = 흐림
remove = side.split("const remove = async (")[1].split("\n };")[0]
assert "showConfirmDialog(ask" in remove and 'op: "delete", 대상:' in remove # 안에 든 것째
assert (
"askLibraryDelete(kind," in remove and 'op: "delete", 대상:' in remove
) # 735 쓰는 곳 경고 뒤 그 줄째
assert 'newHere: tc("Lib_NewHere")' in pre_side
assert '({ 이름: name, 구분: "", 상세구분: "", 단위: null, 담은로직: [] })' in pre_side
make = side.split("const make = (path: string[]): void => {")[1].split("\n };")[0]