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

Method test_from_string_invalid

tests/test_utils.py:481–483  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

479 assert restored == key
480
481 def test_from_string_invalid(self):
482 with pytest.raises(ValueError):
483 LayerCacheEngineKey.from_string("a@b")
484
485 def test_from_string_invalid_tag(self):
486 with pytest.raises(ValueError):

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.45

Tested by

no test coverage detected