def METHOD_NAME(self, part_info, value):
    properties = CondaPlugin.properties_class.unmarshal({"conda-packages": value})
    plugin = CondaPlugin(properties=properties, part_info=part_info)
    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"
        "fi",
        "${HOME}/miniconda.sh -bfp ${HOME}/miniconda",
        (
            "CONDA_TARGET_PREFIX_OVERRIDE=/snap/test-snap/current conda create --prefix "
            f"{plugin._part_info.part_install_dir!s} "
            "--yes"
        ),
    ]