← Về thư mục
tests/_contract/cli.py
- cli_scripts · function · L30-L51 — def cli_scripts(skill_root: Path) -> list[Path]
- run_help · function · L54-L63 — def run_help(script: Path, timeout: int = DEFAULT_TIMEOUT) -> subprocess.CompletedProcess
- _missing_dependency · function · L77-L99 — def _missing_dependency(output: str) -> str | None
- help_test_case · function · L102-L155 — def help_test_case( skill_root: Path, *, skip: frozenset[str] | set[str] | tuple[str, ...] = (), timeout: int = DEFAULT_TIMEOUT, ) -> type[unittest.TestCase]
- CliHelpContractTests · class · L115-L152 — class CliHelpContractTests(unittest.TestCase)
- test_every_cli_answers_help · method · L118-L152 — def test_every_cli_answers_help(self) -> None
- demo_test_case · function · L158-L211 — def demo_test_case( skill_root: Path, scripts: tuple[str, ...], *, timeout: int = DEFAULT_TIMEOUT, ) -> type[unittest.TestCase]
- DemoBlockTests · class · L174-L208 — class DemoBlockTests(unittest.TestCase)
- test_every_demo_block_runs_clean · method · L177-L208 — def test_every_demo_block_runs_clean(self) -> None