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

Function test_deploy_logs

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

Source from the content-addressed store, hash-verified

798
799@mock.patch("crewai_cli.cli.DeployCommand")
800def test_deploy_logs(command, runner):
801 mock_deploy = command.return_value
802 uuid = "test-uuid"
803 result = runner.invoke(deploy_logs, ["-u", uuid])
804
805 assert result.exit_code == 0
806 mock_deploy.get_crew_logs.assert_called_once_with(uuid=uuid)
807
808
809@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected