MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / test_creates_cache_directory

Method test_creates_cache_directory

tests/test_schema_cache.py:55–58  ·  view source on GitHub ↗
(self, sut: SchemaCache, cache_dir: Path, sample_schema: dict[str, Any])

Source from the content-addressed store, hash-verified

53
54class 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

Calls 1

putMethod · 0.80

Tested by

no test coverage detected