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

Method test_defaults

tests/configs/test_base.py:12–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10
11class BaseFlowCfgTests(unittest.TestCase):
12 def test_defaults(self):
13 cfg = BaseFlowCfg()
14 self.assertEqual(cfg.model, "gpt-4o")
15 self.assertEqual(cfg.max_turns, 10)
16 self.assertAlmostEqual(cfg.timeout_seconds, 300.0)
17 self.assertIsNone(cfg.model_settings)
18 self.assertIsNone(cfg.memory_dir)
19 self.assertTrue(cfg.archive_trajectory)
20 self.assertTrue(cfg.enable_default_guardrails)
21 self.assertFalse(cfg.tracing_disabled)
22
23 def test_extra_forbidden(self):
24 with self.assertRaises(ValidationError):

Callers

nothing calls this directly

Calls 1

BaseFlowCfgClass · 0.90

Tested by

no test coverage detected