MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / test_version_command_with_tools

Function test_version_command_with_tools

lib/cli/tests/test_cli.py:111–119  ·  view source on GitHub ↗
(runner)

Source from the content-addressed store, hash-verified

109
110
111def 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")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected