MCPcopy Create free account
hub / github.com/LMCache/LMCache / test_to_string

Method test_to_string

tests/test_utils.py:443–447  ·  view source on GitHub ↗
(self, layer_key)

Source from the content-addressed store, hash-verified

441 assert layer_key != different
442
443 def test_to_string(self, layer_key):
444 s = layer_key.to_string()
445 assert "model_b" in s
446 assert "beef" in s
447 assert "@5" in s
448
449 def test_to_string_with_tags(self):
450 key = LayerCacheEngineKey(

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected