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

Function test_deploy_status

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

Source from the content-addressed store, hash-verified

772
773@mock.patch("crewai_cli.cli.DeployCommand")
774def test_deploy_status(command, runner):
775 mock_deploy = command.return_value
776 uuid = "test-uuid"
777 result = runner.invoke(deply_status, ["-u", uuid])
778
779 assert result.exit_code == 0
780 mock_deploy.get_crew_status.assert_called_once_with(uuid=uuid)
781
782
783@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected