(project_root: Path)
| 26 | |
| 27 | |
| 28 | def _write_flow_project(project_root: Path) -> None: |
| 29 | (project_root / "flow.yaml").write_text(FLOW_YAML, encoding="utf-8") |
| 30 | (project_root / "pyproject.toml").write_text( |
| 31 | '[project]\nname = "demo"\n\n' |
| 32 | '[tool.crewai]\ntype = "flow"\ndefinition = "flow.yaml"\n', |
| 33 | encoding="utf-8", |
| 34 | ) |
| 35 | |
| 36 | |
| 37 | def test_flow_kickoff_runs_configured_declarative_definition( |
no outgoing calls
no test coverage detected