Method
test_creates_cache_directory
(self, sut: SchemaCache, cache_dir: Path, sample_schema: dict[str, Any])
Source from the content-addressed store, hash-verified
| 53 | |
| 54 | class TestPut: |
| 55 | def test_creates_cache_directory(self, sut: SchemaCache, cache_dir: Path, sample_schema: dict[str, Any]) -> None: |
| 56 | assert not cache_dir.exists() |
| 57 | sut.put("6000.2.6f2", sample_schema) |
| 58 | assert cache_dir.exists() |
| 59 | |
| 60 | def test_overwrites_existing_cache(self, sut: SchemaCache, sample_schema: dict[str, Any]) -> None: |
| 61 | sut.put("6000.2.6f2", sample_schema) |
Callers
nothing calls this directly
Tested by
no test coverage detected