def METHOD_NAME():
    class Options:
        conda_packages = ["python"]
        conda_python_version = "3.7"
        conda_miniconda_version = "latest"
    plugin = CondaPlugin(part_name="my-part", options=Options())
    assert plugin.get_build_commands() == [
        'if ! [ -e "${HOME}/miniconda.sh" ]; then\n    curl --proto \'=https\' --tlsv1.2 -sSf https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > ${HOME}/miniconda.sh\n    chmod 755 ${HOME}/miniconda.sh\n    export PATH="${HOME}/miniconda/bin:${PATH}"\nfi\n',
        "${HOME}/miniconda.sh -bfp ${HOME}/miniconda",
        "CONDA_TARGET_PREFIX_OVERRIDE=/snap/${SNAPCRAFT_PROJECT_NAME}/current conda create --prefix $SNAPCRAFT_PART_INSTALL --yes python=3.7 python",
    ]