(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, fmt: str)
| 19 | |
| 20 | |
| 21 | def _create(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, fmt: str) -> Path: |
| 22 | monkeypatch.chdir(tmp_path) |
| 23 | result = CliRunner().invoke(crewai, ["create", "agent", "helper", "--format", fmt]) |
| 24 | assert result.exit_code == 0, result.output |
| 25 | project = tmp_path / "helper" |
| 26 | monkeypatch.chdir(project) |
| 27 | return project |
| 28 | |
| 29 | |
| 30 | def _definition(project: Path) -> dict: |
no test coverage detected