MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_full

Method test_full

tests/test_toollean.py:81–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79
80class TestToolExample:
81 def test_full(self):
82 ex = ToolExample(input_text="search cats", output_text="Found 5 results", description="Basic search")
83 result = ex.to_lap()
84 assert "@example Basic search" in result
85 assert "> search cats" in result
86 assert "< Found 5 results" in result
87
88 def test_lean_strips_desc(self):
89 ex = ToolExample(description="Test", input_text="hi")

Callers

nothing calls this directly

Calls 2

to_lapMethod · 0.95
ToolExampleClass · 0.90

Tested by

no test coverage detected