MCPcopy
hub / github.com/IBM/AssetOpsBench / test_single_step

Method test_single_step

src/agent/tests/test_models.py:55–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 assert order.count(1) == 1
54
55 def test_single_step(self):
56 plan = Plan(steps=[_step(1)], raw="")
57 assert [s.step_number for s in plan.resolved_order()] == [1]
58
59 def test_empty_plan(self):
60 plan = Plan(steps=[], raw="")

Callers

nothing calls this directly

Calls 3

resolved_orderMethod · 0.95
PlanClass · 0.90
_stepFunction · 0.85

Tested by

no test coverage detected