Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ test_version_flag
Function
test_version_flag
lib/cli/tests/test_cli.py:97–101 ·
view source on GitHub ↗
(runner)
Source
from the content-addressed store, hash-verified
95
96
97
def
test_version_flag(runner):
98
result = runner.invoke(version)
99
100
assert result.exit_code == 0
101
assert
"crewai version:"
in result.output
102
103
104
def
test_version_command(runner):
Callers
nothing calls this directly
Calls
1
invoke
Method · 0.45
Tested by
no test coverage detected