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

Function test_create_skip_provider_flag

lib/cli/tests/test_cli.py:198–203  ·  view source on GitHub ↗
(create_json_crew, runner)

Source from the content-addressed store, hash-verified

196
197@mock.patch("crewai_cli.create_json_crew.create_json_crew")
198def test_create_skip_provider_flag(create_json_crew, runner):
199 result = runner.invoke(create, ["crew", "my-crew", "--skip-provider"])
200
201 assert result.exit_code == 0, result.output
202 create_json_crew.assert_called_once_with("my-crew", None, True)
203 assert "deprecated" not in result.output.lower()
204
205
206@mock.patch("crewai_cli.create_json_crew.create_json_crew")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected