MCPcopy Create free account
hub / github.com/bcefghj/miniClaudeCode / test_system_prompt

Method test_system_prompt

tests/test_agent_loop.py:65–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.assertEqual(msgs[0]["content"], "msg 0")
64
65 def test_system_prompt(self):
66 ctx = ConversationContext(config=Config())
67 ctx.set_system_prompt("You are helpful.")
68 self.assertEqual(ctx.system_prompt, "You are helpful.")
69
70
71class TestSystemPrompt(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

set_system_promptMethod · 0.95
ConversationContextClass · 0.90
ConfigClass · 0.90

Tested by

no test coverage detected