mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Add a few missed unstub calls
Also stub out calls to pyenv-virtualenv-prefix in the test that’s listing venvs.
This commit is contained in:
parent
6391e0ae28
commit
372737b30e
|
|
@ -56,11 +56,13 @@ setup() {
|
|||
OUT
|
||||
|
||||
unstub pyenv-version-name
|
||||
|
||||
unstub pyenv-version-origin
|
||||
}
|
||||
|
||||
@test "list virtual environments" {
|
||||
stub pyenv-version-name ": echo system"
|
||||
stub pyenv-virtualenv-prefix "2.7.6/envs/venv27 : echo \"${PYENV_ROOT}/versions/2.7.6\""
|
||||
stub pyenv-virtualenv-prefix "3.3.3/envs/venv33 : echo \"${PYENV_ROOT}/versions/3.3.3\""
|
||||
|
||||
create_m_venv "2.7.6" "venv27"
|
||||
create_m_venv "3.3.3" "venv33"
|
||||
|
|
@ -76,6 +78,7 @@ OUT
|
|||
OUT
|
||||
|
||||
unstub pyenv-version-name
|
||||
unstub pyenv-virtualenv-prefix
|
||||
}
|
||||
|
||||
@test "list virtual environments performance" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue