Files
hatchet/examples/python/bulk_fanout/test_bulk_fanout.py
Gabe Ruttner 8e80faf2d6 Fe overhaul docs (#1640)
* api changes

* doc changes

* move docs

* generated

* generate

* pkg

* backmerge main

* revert to main

* revert main

* race?

* remove go tests
2025-04-30 14:10:09 -07:00

11 lines
275 B
Python

import pytest
from examples.bulk_fanout.worker import ParentInput, bulk_parent_wf
@pytest.mark.asyncio(loop_scope="session")
async def test_run() -> None:
result = await bulk_parent_wf.aio_run(input=ParentInput(n=12))
assert len(result["spawn"]["results"]) == 12