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

Method test_basic

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

Source from the content-addressed store, hash-verified

26
27class TestToolParam:
28 def test_basic(self):
29 p = ToolParam(name="query", type="str")
30 assert p.to_lap() == "query:str"
31
32 def test_optional(self):
33 p = ToolParam(name="limit", type="int", required=False)

Callers

nothing calls this directly

Calls 2

to_lapMethod · 0.95
ToolParamClass · 0.90

Tested by

no test coverage detected