(tmp_path)
| 128 | |
| 129 | |
| 130 | def test_name_mismatch_with_directory(tmp_path): |
| 131 | sd = _write_skill( |
| 132 | tmp_path, |
| 133 | "dir-name", |
| 134 | frontmatter="name: other-name\ndescription: A nice long description here.", |
| 135 | ) |
| 136 | result = validate_skill(sd) |
| 137 | assert not result.passed |
| 138 | assert any("doesn't match directory" in e for e in result.errors) |
| 139 | |
| 140 | |
| 141 | def test_name_invalid_uppercase(tmp_path): |
nothing calls this directly
no test coverage detected