mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Add test for prefix resolution
This commit is contained in:
parent
d5f2878a97
commit
9f3bc68f3e
|
|
@ -244,3 +244,16 @@ OUT
|
|||
remove_virtualenv "venv33" "3.3.6"
|
||||
remove_version "3.4.4"
|
||||
}
|
||||
|
||||
@test "resolves prefixes with pyenv-latest" {
|
||||
create_version "3.4.5"
|
||||
stub pyenv-latest "3.4 : 3.4.5"
|
||||
|
||||
PYENV_VERSION="3.4" run pyenv-virtualenv-prefix
|
||||
assert_success <<!
|
||||
${PYENV_ROOT}/versions/3.4.5
|
||||
!
|
||||
|
||||
unstub pyenv-latest
|
||||
remove_version "3.4.5"
|
||||
}
|
||||
Loading…
Reference in a new issue