mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-04 03:52:49 -05:00
Fix tests failing if plugins are installed (#3022)
Drop the failing test in favor of a better-written test that also tests the same
This commit is contained in:
parent
88f76ee787
commit
e9611beffe
1 changed files with 1 additions and 6 deletions
|
@ -46,12 +46,7 @@ load test_helper
|
||||||
assert_output "pyenv: cannot change working directory to \`$dir'"
|
assert_output "pyenv: cannot change working directory to \`$dir'"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "adds its own libexec to PATH" {
|
@test "adds its own libexec and plugin bin dirs to PATH" {
|
||||||
run pyenv echo "PATH"
|
|
||||||
assert_success "${BATS_TEST_DIRNAME%/*}/libexec:${BATS_TEST_DIRNAME%/*}/plugins/python-build/bin:$PATH"
|
|
||||||
}
|
|
||||||
|
|
||||||
@test "adds plugin bin dirs to PATH" {
|
|
||||||
mkdir -p "$PYENV_ROOT"/plugins/python-build/bin
|
mkdir -p "$PYENV_ROOT"/plugins/python-build/bin
|
||||||
mkdir -p "$PYENV_ROOT"/plugins/pyenv-each/bin
|
mkdir -p "$PYENV_ROOT"/plugins/pyenv-each/bin
|
||||||
run pyenv echo -F: "PATH"
|
run pyenv echo -F: "PATH"
|
||||||
|
|
Loading…
Reference in a new issue