MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / test_contract_scenario

Function test_contract_scenario

sdks/python/tests/test_contract.py:258–269  ·  view source on GitHub ↗
(scenario)

Source from the content-addressed store, hash-verified

256
257
258def test_contract_scenario(scenario):
259 if scenario_needs_store(scenario):
260 pytest.skip(f"scenario {scenario['name']}: requires store access (inject_message/verify_domain)")
261
262 runner = Runner(BASE_URL, API_KEY, scenario)
263 try:
264 skipped = runner.execute_setup()
265 if skipped:
266 pytest.skip(f"scenario {scenario['name']}: setup requires store access")
267 runner.execute_steps()
268 finally:
269 runner.close()

Callers

nothing calls this directly

Calls 5

execute_setupMethod · 0.95
execute_stepsMethod · 0.95
closeMethod · 0.95
scenario_needs_storeFunction · 0.85
RunnerClass · 0.70

Tested by

no test coverage detected