File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
88import json
1111
1212import pytest
1313
14- # ^ typer / langchain extras 가드 — typer 미설치 시 file 전체 skip (1 카운트)
14+ # ^ typer extras 가드 — 미설치 시 file 전체 skip
1515pytest .importorskip ("typer" )
1616import rhwp # noqa: E402
1717from rhwp .cli .app import app # noqa: E402
Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff line change 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
87from pathlib import Path
You can’t perform that action at this time.
0 commit comments