(runner)
| 109 | |
| 110 | |
| 111 | def test_version_command_with_tools(runner): |
| 112 | result = runner.invoke(version, ["--tools"]) |
| 113 | |
| 114 | assert result.exit_code == 0 |
| 115 | assert "crewai version:" in result.output |
| 116 | assert ( |
| 117 | "crewai tools version:" in result.output |
| 118 | or "crewai tools not installed" in result.output |
| 119 | ) |
| 120 | |
| 121 | |
| 122 | @mock.patch("crewai_cli.cli.evaluate_crew") |