MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / test_default_id_unique

Method test_default_id_unique

tests/knowledge/test_base.py:96–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 a = _ConcreteKnowledge(as_of=_now(), source=_src())
95 b = _ConcreteKnowledge(as_of=_now(), source=_src())
96 self.assertNotEqual(a.id, b.id)
97
98 def test_default_confidence_is_medium(self):
99 item = _ConcreteKnowledge(as_of=_now(), source=_src())
100 self.assertEqual(item.confidence, "medium")
101
102 def test_available_at_is_optional_and_round_trips(self):

Callers

nothing calls this directly

Calls 3

_ConcreteKnowledgeClass · 0.85
_nowFunction · 0.70
_srcFunction · 0.70

Tested by

no test coverage detected