Skip to content

Commit cfa63dc

Browse files
authored
Merge pull request #6 from DanMeon/chore/docstring-meta-cleanup
chore: 테스트 docstring 의 가변 카운트·스테이지 마커 정리
2 parents 55e28c0 + 1dc254b commit cfa63dc

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

tests/test_cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""rhwp-py CLI 서브커맨드 smoke + 통합 테스트.
22
3-
cli.md § 테스트 전략 — typer.testing.CliRunner 기반 smoke + 실제 sample 통합.
4-
파일 레벨 ``importorskip("typer")`` 로 typer 미설치 시 file 전체 skip
5-
(CI ``test-without-extras`` 잡의 5 skipped 카운트 중 1).
3+
typer.testing.CliRunner 기반 smoke + 실제 sample 통합. 파일 레벨
4+
``importorskip("typer")`` 로 typer 미설치 시 file 전체 skip — gated 파일
5+
총 카운트 검증은 CI ``test-without-extras`` 잡이 SSOT.
66
"""
77

88
import json
@@ -11,7 +11,7 @@
1111

1212
import pytest
1313

14-
# ^ typer / langchain extras 가드 — typer 미설치 시 file 전체 skip (1 카운트)
14+
# ^ typer extras 가드 — 미설치 시 file 전체 skip
1515
pytest.importorskip("typer")
1616
import rhwp # noqa: E402
1717
from rhwp.cli.app import app # noqa: E402

tests/test_ir_schema_export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def test_export_schema_defs_are_exactly_the_known_nodes():
6666
"FormulaBlock",
6767
"FootnoteBlock",
6868
"EndnoteBlock",
69-
# ^ S3 신규 5
7069
"ListItemBlock",
7170
"CaptionBlock",
7271
"TocBlock",

tests/test_langchain_loader_ir.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
"""Stage S5 — HwpLoader(mode="ir-blocks") pytest 스위트.
1+
"""HwpLoader(mode="ir-blocks") pytest 스위트.
22
3-
``test_langchain_loader.py`` 는 CLAUDE.md 규약상 exactly 29 테스트 유지 —
4-
IR 모드 추가 테스트는 본 파일로 분리한다. 둘 모두 ``langchain_core`` 미설치
5-
시 파일 레벨 importorskip 으로 auto-skip.
3+
``test_langchain_loader.py`` 와 분리 — 본 파일은 ir-blocks 모드 전용.
4+
``langchain_core`` 미설치 시 파일 레벨 importorskip 으로 auto-skip.
65
"""
76

87
from pathlib import Path

0 commit comments

Comments
 (0)