Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""rhwp-py CLI 서브커맨드 smoke + 통합 테스트.

cli.md § 테스트 전략 — typer.testing.CliRunner 기반 smoke + 실제 sample 통합.
파일 레벨 ``importorskip("typer")`` 로 typer 미설치 시 file 전체 skip
(CI ``test-without-extras`` 잡의 5 skipped 카운트 중 1).
typer.testing.CliRunner 기반 smoke + 실제 sample 통합. 파일 레벨
``importorskip("typer")`` 로 typer 미설치 시 file 전체 skip — gated 파일
총 카운트 검증은 CI ``test-without-extras`` 잡이 SSOT.
"""

import json
Expand All @@ -11,7 +11,7 @@

import pytest

# ^ typer / langchain extras 가드 — typer 미설치 시 file 전체 skip (1 카운트)
# ^ typer extras 가드 — 미설치 시 file 전체 skip
pytest.importorskip("typer")
import rhwp # noqa: E402
from rhwp.cli.app import app # noqa: E402
Expand Down
1 change: 0 additions & 1 deletion tests/test_ir_schema_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def test_export_schema_defs_are_exactly_the_known_nodes():
"FormulaBlock",
"FootnoteBlock",
"EndnoteBlock",
# ^ S3 신규 5
"ListItemBlock",
"CaptionBlock",
"TocBlock",
Expand Down
7 changes: 3 additions & 4 deletions tests/test_langchain_loader_ir.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""Stage S5 — HwpLoader(mode="ir-blocks") pytest 스위트.
"""HwpLoader(mode="ir-blocks") pytest 스위트.

``test_langchain_loader.py`` 는 CLAUDE.md 규약상 exactly 29 테스트 유지 —
IR 모드 추가 테스트는 본 파일로 분리한다. 둘 모두 ``langchain_core`` 미설치
시 파일 레벨 importorskip 으로 auto-skip.
``test_langchain_loader.py`` 와 분리 — 본 파일은 ir-blocks 모드 전용.
``langchain_core`` 미설치 시 파일 레벨 importorskip 으로 auto-skip.
"""

from pathlib import Path
Expand Down
Loading