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

Method test_found

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

Source from the content-addressed store, hash-verified

63
64class TestPlanGetStep:
65 def test_found(self):
66 plan = Plan(steps=[_step(1), _step(2)], raw="")
67 assert plan.get_step(2).step_number == 2
68
69 def test_not_found_returns_none(self):
70 plan = Plan(steps=[_step(1)], raw="")

Callers

nothing calls this directly

Calls 3

get_stepMethod · 0.95
PlanClass · 0.90
_stepFunction · 0.85

Tested by

no test coverage detected