mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-30 05:09:44 -06:00
* api changes * doc changes * move docs * generated * generate * pkg * backmerge main * revert to main * revert main * race? * remove go tests
11 lines
252 B
Python
11 lines
252 B
Python
import pytest
|
|
|
|
from examples.fanout.worker import ParentInput, parent_wf
|
|
|
|
|
|
@pytest.mark.asyncio(loop_scope="session")
|
|
async def test_run() -> None:
|
|
result = await parent_wf.aio_run(ParentInput(n=2))
|
|
|
|
assert len(result["spawn"]["results"]) == 2
|