mirror of https://github.com/databricks/cli.git
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:
parent
14f0292598
commit
d5e02d89ee
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue