def sabotaged_installed_command(prefix): from anaconda_project.internal import conda_api raise conda_api.CondaError("sabotage!")
def mock_create(prefix, pkgs, channels, stdout_callback, stderr_callback): raise conda_api.CondaError("error_from_conda_create")
def mock_resolve_dependencies(pkgs, platform, channels): raise conda_api.CondaError("nope")