def METHOD_NAME(mocker):
    """Mock commands run by the snapcraft_legacy."""
    mocker.patch("snapcraft_legacy.cli.lifecycle._execute")
    mocker.patch("snapcraft_legacy.cli._runner.configure_requests_ca")