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

Class _ConcreteKnowledge

tests/knowledge/test_base.py:77–84  ·  view source on GitHub ↗

Test fixture: concrete subclass that overrides embedding_text.

Source from the content-addressed store, hash-verified

75
76
77class _ConcreteKnowledge(BaseKnowledge):
78 """Test fixture for shared canonical metadata behavior."""
79
80 item_type: str = "test" # pyright: ignore[reportIncompatibleVariableOverride]
81 payload: str = ""
82
83
84class BaseKnowledgeTests(unittest.TestCase):
85 def test_as_of_required(self):
86 with self.assertRaises(ValidationError):
87 _ConcreteKnowledge(source=_src()) # type: ignore[call-arg]

Calls

no outgoing calls