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

Method test_source_required

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

Source from the content-addressed store, hash-verified

90 with self.assertRaises(ValidationError):
91 _ConcreteKnowledge(as_of=_now()) # type: ignore[call-arg]
92
93 def test_default_id_unique(self):
94 a = _ConcreteKnowledge(as_of=_now(), source=_src())
95 b = _ConcreteKnowledge(as_of=_now(), source=_src())
96 self.assertNotEqual(a.id, b.id)
97

Callers

nothing calls this directly

Calls 2

_ConcreteKnowledgeClass · 0.85
_nowFunction · 0.70

Tested by

no test coverage detected