(command, runner)
| 820 | |
| 821 | @mock.patch("crewai_cli.cli.DeployCommand") |
| 822 | def test_deploy_remove_no_uuid(command, runner): |
| 823 | mock_deploy = command.return_value |
| 824 | result = runner.invoke(deploy_remove) |
| 825 | |
| 826 | assert result.exit_code == 0 |
| 827 | mock_deploy.remove_crew.assert_called_once_with(uuid=None) |
| 828 | |
| 829 | |
| 830 | def _flow_project( |