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

Function test_deploy_list

lib/cli/tests/test_cli.py:737–742  ·  view source on GitHub ↗
(command, runner)

Source from the content-addressed store, hash-verified

735
736@mock.patch("crewai_cli.cli.DeployCommand")
737def test_deploy_list(command, runner):
738 mock_deploy = command.return_value
739 result = runner.invoke(deploy_list)
740
741 assert result.exit_code == 0
742 mock_deploy.list_crews.assert_called_once()
743
744
745@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected