(tmp_path)
| 226 | |
| 227 | |
| 228 | def test_reference_too_big(tmp_path): |
| 229 | big = "y" * (REFERENCE_MAX_BYTES + 1) |
| 230 | sd = _write_skill( |
| 231 | tmp_path, |
| 232 | "big-ref", |
| 233 | refs={"huge.md": big}, |
| 234 | ) |
| 235 | result = validate_skill(sd) |
| 236 | assert not result.passed |
| 237 | assert any("huge.md" in e and "bytes" in e for e in result.errors) |
| 238 | |
| 239 | |
| 240 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected