feat(745-1): 고르기 창 미리 고름 점 — 「다른 점」 1위 + 출처 같음만 · 누르기는 사용자 · 낡은 시험 하나 고침
- 서버 후보 묶음(`_grouped`)에 `미리` 칸 — 판정 「다른 점」 1위가 엑셀 인용 조항 = 기초 조항이면 · 「후보」 줄 점 없음 - 고르기 창 후보 줄 앞에 점 + 「미리 고름」 글 · 체크 · 선택은 그대로 비어 있음 - 북부청 표본(임도 · 사방) 다른 점 28 줄 전부 점 · 1위 맞음 28/28 - 시험 — 점 규칙 한 건 추가(test_m02_hopyo_match) · test_m02_precombo_scope 낡음 고침(735 뒤 삭제 확인이 askLibraryDelete 로 바뀜) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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["후보"])
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user