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

Function test_deploy_push

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

Source from the content-addressed store, hash-verified

744
745@mock.patch("crewai_cli.cli.DeployCommand")
746def test_deploy_push(command, runner):
747 mock_deploy = command.return_value
748 uuid = "test-uuid"
749 result = runner.invoke(deploy_push, ["-u", uuid])
750
751 assert result.exit_code == 0
752 mock_deploy.deploy.assert_called_once_with(uuid=uuid, skip_validate=False, force=False)
753
754
755@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected