mirror of https://github.com/databricks/cli.git
Better error messages
This commit is contained in:
parent
6fd701ec84
commit
55c36bc2fa
|
@ -73,7 +73,7 @@ func activateVEnv(t *testing.T) {
|
||||||
venvDir := pathlib.Join(dir, "venv")
|
venvDir := pathlib.Join(dir, "venv")
|
||||||
|
|
||||||
err := exec.Command("python3", "-m", "venv", venvDir).Run()
|
err := exec.Command("python3", "-m", "venv", venvDir).Run()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err, "failed to create venv")
|
||||||
|
|
||||||
// we don't have shell to activate venv, updating PATH is enough
|
// we don't have shell to activate venv, updating PATH is enough
|
||||||
|
|
||||||
|
@ -91,5 +91,5 @@ func activateVEnv(t *testing.T) {
|
||||||
"install",
|
"install",
|
||||||
"databricks-pydabs==0.5.1",
|
"databricks-pydabs==0.5.1",
|
||||||
).Run()
|
).Run()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err, "failed to install databricks-pydabs")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue