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

Function test_deploy_remove

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

Source from the content-addressed store, hash-verified

817
818@mock.patch("crewai_cli.cli.DeployCommand")
819def test_deploy_remove(command, runner):
820 mock_deploy = command.return_value
821 uuid = "test-uuid"
822 result = runner.invoke(deploy_remove, ["-u", uuid])
823
824 assert result.exit_code == 0
825 mock_deploy.remove_crew.assert_called_once_with(uuid=uuid)
826
827
828@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected