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

Function test_deploy_status

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

Source from the content-addressed store, hash-verified

779
780@mock.patch("crewai_cli.cli.DeployCommand")
781def test_deploy_status(command, runner):
782 mock_deploy = command.return_value
783 uuid = "test-uuid"
784 result = runner.invoke(deply_status, ["-u", uuid])
785
786 assert result.exit_code == 0
787 mock_deploy.get_crew_status.assert_called_once_with(uuid=uuid)
788
789
790@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected