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

Function test_deploy_remove

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

Source from the content-addressed store, hash-verified

810
811@mock.patch("crewai_cli.cli.DeployCommand")
812def test_deploy_remove(command, runner):
813 mock_deploy = command.return_value
814 uuid = "test-uuid"
815 result = runner.invoke(deploy_remove, ["-u", uuid])
816
817 assert result.exit_code == 0
818 mock_deploy.remove_crew.assert_called_once_with(uuid=uuid)
819
820
821@mock.patch("crewai_cli.cli.DeployCommand")

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected