diff --git a/tests/test_cli.py b/tests/test_cli.py index 8ad325d..d6ececc 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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 @@ -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 diff --git a/tests/test_ir_schema_export.py b/tests/test_ir_schema_export.py index c6aec49..9da2a0b 100644 --- a/tests/test_ir_schema_export.py +++ b/tests/test_ir_schema_export.py @@ -66,7 +66,6 @@ def test_export_schema_defs_are_exactly_the_known_nodes(): "FormulaBlock", "FootnoteBlock", "EndnoteBlock", - # ^ S3 신규 5 "ListItemBlock", "CaptionBlock", "TocBlock", diff --git a/tests/test_langchain_loader_ir.py b/tests/test_langchain_loader_ir.py index bfc8eeb..579a076 100644 --- a/tests/test_langchain_loader_ir.py +++ b/tests/test_langchain_loader_ir.py @@ -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