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

Function test_deploy_logs

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

Source from the content-addressed store, hash-verified

791
792@mock.patch("crewai_cli.cli.DeployCommand")
793def test_deploy_logs(command, runner):
794 mock_deploy = command.return_value
795 uuid = "test-uuid"
796 result = runner.invoke(deploy_logs, ["-u", uuid])
797
798 assert result.exit_code == 0
799 mock_deploy.get_crew_logs.assert_called_once_with(uuid=uuid)
800
801
802@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected