databricks-cli/libs/python/pythontest/pythontest_test.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
380 B
Go
Raw Normal View History

package pythontest
import (
"context"
"testing"
)
func TestVenv(t *testing.T) {
// Test at least two version to ensure we capture a case where venv version does not match system one
for _, pythonVersion := range []string{"3.11", "3.12"} {
t.Run(pythonVersion, func(t *testing.T) {
ctx := context.Background()
RequirePythonVENV(t, ctx, pythonVersion, true)
})
}
}