MCPcopy Create free account
hub / github.com/apache/burr / test__run_function

Function test__run_function

tests/core/test_application.py:431–436  ·  view source on GitHub ↗

Tests that we can run a function

()

Source from the content-addressed store, hash-verified

429
430
431def test__run_function():
432 """Tests that we can run a function"""
433 action = base_counter_action
434 state = State({})
435 result = _run_function(action, state, inputs={}, name=action.name)
436 assert result == {"count": 1}
437
438
439def test__run_function_with_inputs():

Callers

nothing calls this directly

Calls 2

StateClass · 0.90
_run_functionFunction · 0.90

Tested by

no test coverage detected