MCPcopy Create free account
hub / github.com/idank/explainshell / TestBuildUserContent

Class TestBuildUserContent

tests/extraction/llm/test_extractor.py:405–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403
404
405class TestBuildUserContent(unittest.TestCase):
406 def test_includes_chunk_text(self):
407 content = LLMExtractor._build_user_content("chunk text", "")
408 self.assertIn("chunk text", content)
409
410 def test_chunk_info_included(self):
411 content = LLMExtractor._build_user_content("chunk", " (part 1 of 3)")
412 self.assertIn("(part 1 of 3)", content)
413 self.assertIn("Extract ALL options documented in THIS part only", content)
414 self.assertIn("do not wait for other parts", content)
415 self.assertIn('{"options": []}', content)
416 self.assertIn("chunk", content)
417
418
419# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected