Fix failing integration test due to lowercased wheel file (#2380)

## Changes
I'm not completely sure what is lowercasing it, we can investigate this
later. This unblocks tests on main.

> Name: project_name_kLvfBngEcUEI
> Uploading
project_name_klvfbngecuei-0.0.1+[NUMID].[NUMID]-py3-none-any.whl...

## Tests
`CLOUD_ENV=aws go test --timeout 3h -v -run TestDefaultPython/3.9
./integration/bundle`
This commit is contained in:
Denis Bilenko 2025-02-25 18:31:57 +01:00 committed by GitHub
parent 14f0292598
commit d5e02d89ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import (
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"github.com/databricks/cli/integration/internal/acc"
@ -53,6 +54,7 @@ func testDefaultPython(t *testing.T, pythonVersion string) {
uniqueProjectId := testutil.RandomName("")
ctx, replacements := testdiff.WithReplacementsMap(ctx)
replacements.Set(uniqueProjectId, "$UNIQUE_PRJ")
replacements.Set(strings.ToLower(uniqueProjectId), "$UNIQUE_PRJ")
user, err := wt.W.CurrentUser.Me(ctx)
require.NoError(t, err)