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

Method test_minimal

tests/knowledge/test_factor.py:19–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17
18class FactorTests(unittest.TestCase):
19 def test_minimal(self):
20 f = Factor(as_of=_now(), source=_src(), factor_name="momentum_12_1")
21 self.assertEqual(f.item_type, "factor")
22 self.assertEqual(f.factor_name, "momentum_12_1")
23 self.assertIsNone(f.universe)
24
25 def test_retrieval_projection_is_not_a_domain_method(self):
26 f = Factor(

Callers

nothing calls this directly

Calls 3

FactorClass · 0.90
_nowFunction · 0.70
_srcFunction · 0.70

Tested by

no test coverage detected