<commit_before>package integration_test

import (
	"os/exec"

	"github.com/cloudfoundry/libbuildpack/cutlass"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

var _ = Describe("override yml", func() {
	var app *cutlass.App
	var buildpackName string

	BeforeEach(func() {
		if !ApiHasMultiBuildpack() {
			Skip("Multi buildpack support is required")
		}

		if isSerialTest {
			Skip("Skipping parallel tests")
		}

		buildpackName = "override_yml_" + cutlass.RandStringRunes(5)
		Expect(cutlass.CreateOrUpdateBuildpack(buildpackName, Fixtures("overrideyml_bp"), "")).To(Succeed())

		app = cutlass.New(Fixtures("no_deps"))
		app.Buildpacks = []string{buildpackName + "_buildpack", "python_buildpack"}
	})

	AfterEach(func() {
		if buildpackName != "" {
			cutlass.DeleteBuildpack(buildpackName)
		}

		if app != nil {
			app.Destroy()
			app = nil
		}
	})

	It("Forces python from override buildpack", func() {
		Expect(app.Push()).ToNot(Succeed())

		logs := exec.Command("cf", "logs", "--recent", app.Name)
		out, err := logs.CombinedOutput()
		Expect(err).ToNot(HaveOccurred())<commit_msg>Add output error for test<commit_after>package integration_test

import (
	"os/exec"

	"github.com/cloudfoundry/libbuildpack/cutlass"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

var _ = Describe("override yml", func() {
	var app *cutlass.App
	var buildpackName string

	BeforeEach(func() {
		if !ApiHasMultiBuildpack() {
			Skip("Multi buildpack support is required")
		}

		if isSerialTest {
			Skip("Skipping parallel tests")
		}

		buildpackName = "override_yml_" + cutlass.RandStringRunes(5)
		Expect(cutlass.CreateOrUpdateBuildpack(buildpackName, Fixtures("overrideyml_bp"), "")).To(Succeed())

		app = cutlass.New(Fixtures("no_deps"))
		app.Buildpacks = []string{buildpackName + "_buildpack", "python_buildpack"}
	})

	AfterEach(func() {
		if buildpackName != "" {
			cutlass.DeleteBuildpack(buildpackName)
		}

		if app != nil {
			app.Destroy()
			app = nil
		}
	})

	It("Forces python from override buildpack", func() {
		Expect(app.Push()).ToNot(Succeed())

		logs := exec.Command("cf", "logs", "--recent", app.Name)
		out, err := logs.CombinedOutput()
		Expect(err).ToNot(HaveOccurred(), string(out))
{'fraction_non_alphanumeric': 0.1556751906684612, 'fraction_numerical': 0.0008972633467922835, 'mean_word_length': 4.575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2263084', 'n_tokens_mistral': 865, 'n_tokens_neox': 784, 'n_words': 140}