(tmp_path)
| 161 | |
| 162 | |
| 163 | def test_name_missing(tmp_path): |
| 164 | sd = _write_skill( |
| 165 | tmp_path, |
| 166 | "no-name-field", |
| 167 | frontmatter="description: A nice long description here.", |
| 168 | ) |
| 169 | result = validate_skill(sd) |
| 170 | assert not result.passed |
| 171 | assert any("name" in e for e in result.errors) |
| 172 | |
| 173 | |
| 174 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected