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

Function test_deploy_push

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

Source from the content-addressed store, hash-verified

751
752@mock.patch("crewai_cli.cli.DeployCommand")
753def test_deploy_push(command, runner):
754 mock_deploy = command.return_value
755 uuid = "test-uuid"
756 result = runner.invoke(deploy_push, ["-u", uuid])
757
758 assert result.exit_code == 0
759 mock_deploy.deploy.assert_called_once_with(uuid=uuid, skip_validate=False, force=False)
760
761
762@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected