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

Method test_from_string_invalid

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

Source from the content-addressed store, hash-verified

305 assert restored == key_with_tags
306
307 def test_from_string_invalid(self):
308 with pytest.raises(ValueError):
309 CacheEngineKey.from_string("invalid")
310
311 def test_from_string_invalid_tag_format(self):
312 with pytest.raises(ValueError):

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.45

Tested by

no test coverage detected