Resolving a local directory returns path and source_type directory.
(tmp_path: Path)
| 24 | |
| 25 | |
| 26 | def test_resolve_directory(tmp_path: Path) -> None: |
| 27 | """Resolving a local directory returns path and source_type directory.""" |
| 28 | (tmp_path / "SKILL.md").write_text("# Skill", encoding="utf-8") |
| 29 | handler = InputHandler() |
| 30 | try: |
| 31 | resolved, source_type = handler.resolve(str(tmp_path)) |
| 32 | assert resolved.is_dir() |
| 33 | assert (resolved / "SKILL.md").exists() |
| 34 | assert source_type == "directory" |
| 35 | finally: |
| 36 | handler.cleanup() |
| 37 | |
| 38 | |
| 39 | def test_resolve_single_md_file(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected