Created
January 30, 2022 17:19
-
-
Save ackalker/130420564bf6fc34ace4a23d8e968c27 to your computer and use it in GitHub Desktop.
Output of 'bats test' before and after applying bc4c73a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bats warning: duplicate test name(s) in /home/miki/.pyenv/plugins/pyenv-virtualenv/test/deactivate.bats: test_deactivate_virtualenv_-28quiet-29 | |
1..97 | |
ok 1 activate virtualenv from current version | |
ok 2 activate virtualenv from current version (quiet) | |
ok 3 activate virtualenv from current version (verbose) | |
ok 4 activate virtualenv from current version (without pyenv-virtualenv-init) | |
ok 5 activate virtualenv from current version (fish) | |
ok 6 activate virtualenv from current version (fish) (without pyenv-virtualenv-init) | |
ok 7 activate virtualenv from command-line argument | |
ok 8 activate virtualenv from command-line argument (without pyenv-virtualenv-init) | |
ok 9 activate virtualenv from command-line argument (fish) | |
ok 10 activate virtualenv from command-line argument (fish) (without pyenv-virtualenv-init) | |
ok 11 unset invokes deactivate | |
ok 12 should fail if the version is not a virtualenv | |
ok 13 should fail if the version is not a virtualenv (quiet) | |
ok 14 should fail if there are multiple versions | |
ok 15 should fail if there are multiple virtualenvs (quiet) | |
ok 16 should fail if the first version is not a virtualenv | |
ok 17 activate if the first virtualenv is a virtualenv | |
ok 18 should fail if activate is invoked as a command | |
ok 19 activate conda root from current version | |
ok 20 activate conda root from current version (fish) | |
ok 21 activate conda root from command-line argument | |
ok 22 activate conda env from current version | |
ok 23 activate conda env from command-line argument | |
not ok 24 deactivate conda root | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/conda-deactivate.bats, line 32) | |
# `assert_output <<EOS' failed | |
# expected: unset CONDA_PREFIX | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# unset CONDA_DEFAULT_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset CONDA_PREFIX | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# unset CONDA_DEFAULT_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
ok 25 deactivate conda root (fish) | |
not ok 26 deactivate conda env | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/conda-deactivate.bats, line 99) | |
# `assert_output <<EOS' failed | |
# expected: . "${TMP}/pyenv/versions/anaconda-2.3.0/envs/foo/etc/conda/deactivate.d/deactivate.sh"; | |
# unset CONDA_PREFIX | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# unset CONDA_DEFAULT_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: . "${TMP}/pyenv/versions/anaconda-2.3.0/envs/foo/etc/conda/deactivate.d/deactivate.sh"; | |
# unset CONDA_PREFIX | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# unset CONDA_DEFAULT_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
ok 27 display conda root | |
ok 28 display conda env | |
ok 29 create virtualenv by conda create | |
ok 30 create virtualenv by conda create with -p | |
ok 31 create virtualenv by conda create with --python | |
not ok 32 deactivate virtualenv | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 30) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 33 deactivate virtualenv (quiet) | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 122) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 34 deactivate virtualenv (verbose) | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 91) | |
# `assert_output <<EOS' failed | |
# expected: pyenv-virtualenv: deactivate venv | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: pyenv-virtualenv: deactivate venv | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 35 deactivate virtualenv (quiet) | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 122) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 36 deactivate virtualenv (with shell activation) | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 152) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VERSION; | |
# unset PYENV_ACTIVATE_SHELL; | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VERSION; | |
# unset PYENV_ACTIVATE_SHELL; | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 37 deactivate virtualenv (with shell activation) (quiet) | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 184) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VERSION; | |
# unset PYENV_ACTIVATE_SHELL; | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VERSION; | |
# unset PYENV_ACTIVATE_SHELL; | |
# unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
not ok 38 deactivate virtualenv which has been activated manually | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/deactivate.bats, line 216) | |
# `assert_output <<EOS' failed | |
# expected: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
# actual: unset PYENV_VIRTUAL_ENV; | |
# unset VIRTUAL_ENV; | |
# if [ -n "${_OLD_VIRTUAL_PATH:-}" ]; then | |
# export PATH="${_OLD_VIRTUAL_PATH}"; | |
# unset _OLD_VIRTUAL_PATH; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ]; then | |
# export PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME}"; | |
# unset _OLD_VIRTUAL_PYTHONHOME; | |
# fi; | |
# if [ -n "${_OLD_VIRTUAL_PS1:-}" ]; then | |
# export PS1="${_OLD_VIRTUAL_PS1}"; | |
# unset _OLD_VIRTUAL_PS1; | |
# fi; | |
# if declare -f deactivate 1>/dev/null 2>&1; then | |
# unset -f deactivate; | |
# fi; | |
ok 39 deactivate virtualenv (fish) | |
ok 40 deactivate virtualenv (fish) (quiet) | |
ok 41 deactivate virtualenv (fish) (with shell activation) | |
ok 42 deactivate virtualenv (fish) (with shell activation) (quiet) | |
ok 43 deactivate virtualenv which has been activated manually (fish) | |
ok 44 should fail if deactivate is invoked as a command | |
ok 45 delete virtualenv | |
ok 46 delete virtualenv by symlink | |
ok 47 delete virtualenv with symlink | |
ok 48 not delete virtualenv with different symlink | |
ok 49 not delete virtualenv with same name | |
ok 50 path should be handled properly even if there is 'envs' in PYENV_ROOT | |
ok 51 pyenv-virtualenv hooks | |
ok 52 detect parent shell | |
ok 53 detect parent shell from script (sh) | |
ok 54 detect parent shell from script (bash) | |
ok 55 sh-compatible instructions | |
ok 56 fish instructions | |
ok 57 outputs bash-specific syntax | |
ok 58 outputs fish-specific syntax | |
ok 59 outputs zsh-specific syntax | |
ok 60 installs pyenv-virtualenv into PREFIX | |
ok 61 overwrites old installation | |
ok 62 unrelated files are untouched | |
ok 63 install pip with ensurepip | |
ok 64 install pip without using ensurepip | |
ok 65 display prefix of virtualenv created by virtualenv | |
ok 66 display prefix of virtualenv created by virtualenv (pypy) | |
ok 67 display prefix of virtualenv created by virtualenv (jython) | |
ok 68 display prefixes of virtualenv created by virtualenv | |
ok 69 display prefix of virtualenv created by venv | |
ok 70 display prefixes of virtualenv created by venv | |
ok 71 display prefix of virtualenv created by conda | |
ok 72 should fail if the version is the system | |
ok 73 should fail if the version is not a virtualenv | |
ok 74 should fail if one of the versions is not a virtualenv | |
ok 75 resolve python executable from enabled version | |
ok 76 resolve python executable from other versions | |
ok 77 cannot resolve python executable | |
ok 78 use venv if virtualenv is not available | |
ok 79 not use venv if virtualenv is available | |
ok 80 install virtualenv if venv is not available | |
ok 81 install virtualenv if -p has given | |
ok 82 install virtualenv if --python has given | |
ok 83 install virtualenv with unsetting troublesome pip options | |
ok 84 display virtualenv version | |
ok 85 display venv version | |
not ok 86 create virtualenv from given version | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 39) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 87 create virtualenv from current version | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 68) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 88 create virtualenv with short options | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 98) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 89 create virtualenv with long options | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 128) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
ok 90 no whitespace allowed in virtualenv name | |
ok 91 no tab allowed in virtualenv name | |
ok 92 system not allowed as virtualenv name | |
ok 93 no slash allowed in virtualenv name | |
not ok 94 slash allowed if it is the long name of the virtualenv | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 193) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/foo | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/foo | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
ok 95 list virtual environments only | |
ok 96 list virtual environments with hit prefix | |
ok 97 list virtual environments with --bare |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bats warning: duplicate test name(s) in /home/miki/.pyenv/plugins/pyenv-virtualenv/test/deactivate.bats: test_deactivate_virtualenv_-28quiet-29 | |
1..97 | |
ok 1 activate virtualenv from current version | |
ok 2 activate virtualenv from current version (quiet) | |
ok 3 activate virtualenv from current version (verbose) | |
ok 4 activate virtualenv from current version (without pyenv-virtualenv-init) | |
ok 5 activate virtualenv from current version (fish) | |
ok 6 activate virtualenv from current version (fish) (without pyenv-virtualenv-init) | |
ok 7 activate virtualenv from command-line argument | |
ok 8 activate virtualenv from command-line argument (without pyenv-virtualenv-init) | |
ok 9 activate virtualenv from command-line argument (fish) | |
ok 10 activate virtualenv from command-line argument (fish) (without pyenv-virtualenv-init) | |
ok 11 unset invokes deactivate | |
ok 12 should fail if the version is not a virtualenv | |
ok 13 should fail if the version is not a virtualenv (quiet) | |
ok 14 should fail if there are multiple versions | |
ok 15 should fail if there are multiple virtualenvs (quiet) | |
ok 16 should fail if the first version is not a virtualenv | |
ok 17 activate if the first virtualenv is a virtualenv | |
ok 18 should fail if activate is invoked as a command | |
ok 19 activate conda root from current version | |
ok 20 activate conda root from current version (fish) | |
ok 21 activate conda root from command-line argument | |
ok 22 activate conda env from current version | |
ok 23 activate conda env from command-line argument | |
ok 24 deactivate conda root | |
ok 25 deactivate conda root (fish) | |
ok 26 deactivate conda env | |
ok 27 display conda root | |
ok 28 display conda env | |
ok 29 create virtualenv by conda create | |
ok 30 create virtualenv by conda create with -p | |
ok 31 create virtualenv by conda create with --python | |
ok 32 deactivate virtualenv | |
ok 33 deactivate virtualenv (quiet) | |
ok 34 deactivate virtualenv (verbose) | |
ok 35 deactivate virtualenv (quiet) | |
ok 36 deactivate virtualenv (with shell activation) | |
ok 37 deactivate virtualenv (with shell activation) (quiet) | |
ok 38 deactivate virtualenv which has been activated manually | |
ok 39 deactivate virtualenv (fish) | |
ok 40 deactivate virtualenv (fish) (quiet) | |
ok 41 deactivate virtualenv (fish) (with shell activation) | |
ok 42 deactivate virtualenv (fish) (with shell activation) (quiet) | |
ok 43 deactivate virtualenv which has been activated manually (fish) | |
ok 44 should fail if deactivate is invoked as a command | |
ok 45 delete virtualenv | |
ok 46 delete virtualenv by symlink | |
ok 47 delete virtualenv with symlink | |
ok 48 not delete virtualenv with different symlink | |
ok 49 not delete virtualenv with same name | |
ok 50 path should be handled properly even if there is 'envs' in PYENV_ROOT | |
ok 51 pyenv-virtualenv hooks | |
ok 52 detect parent shell | |
ok 53 detect parent shell from script (sh) | |
ok 54 detect parent shell from script (bash) | |
ok 55 sh-compatible instructions | |
ok 56 fish instructions | |
ok 57 outputs bash-specific syntax | |
ok 58 outputs fish-specific syntax | |
ok 59 outputs zsh-specific syntax | |
ok 60 installs pyenv-virtualenv into PREFIX | |
ok 61 overwrites old installation | |
ok 62 unrelated files are untouched | |
ok 63 install pip with ensurepip | |
ok 64 install pip without using ensurepip | |
ok 65 display prefix of virtualenv created by virtualenv | |
ok 66 display prefix of virtualenv created by virtualenv (pypy) | |
ok 67 display prefix of virtualenv created by virtualenv (jython) | |
ok 68 display prefixes of virtualenv created by virtualenv | |
ok 69 display prefix of virtualenv created by venv | |
ok 70 display prefixes of virtualenv created by venv | |
ok 71 display prefix of virtualenv created by conda | |
ok 72 should fail if the version is the system | |
ok 73 should fail if the version is not a virtualenv | |
ok 74 should fail if one of the versions is not a virtualenv | |
ok 75 resolve python executable from enabled version | |
ok 76 resolve python executable from other versions | |
ok 77 cannot resolve python executable | |
ok 78 use venv if virtualenv is not available | |
ok 79 not use venv if virtualenv is available | |
ok 80 install virtualenv if venv is not available | |
ok 81 install virtualenv if -p has given | |
ok 82 install virtualenv if --python has given | |
ok 83 install virtualenv with unsetting troublesome pip options | |
ok 84 display virtualenv version | |
ok 85 display venv version | |
not ok 86 create virtualenv from given version | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 39) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 87 create virtualenv from current version | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 68) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 88 create virtualenv with short options | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 98) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
not ok 89 create virtualenv with long options | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 128) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv --verbose --python=${TMP}/python ${TMP}/pyenv/versions/2.7.11/envs/venv | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
ok 90 no whitespace allowed in virtualenv name | |
ok 91 no tab allowed in virtualenv name | |
ok 92 system not allowed as virtualenv name | |
ok 93 no slash allowed in virtualenv name | |
not ok 94 slash allowed if it is the long name of the virtualenv | |
# (from function `assert_equal' in file test/test_helper.bash, line 79, | |
# from function `assert_output' in file test/test_helper.bash, line 88, | |
# in test file test/virtualenv.bats, line 193) | |
# `assert_output <<OUT' failed | |
# expected: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/foo | |
# Installing pip from https://bootstrap.pypa.io/get-pip.py... | |
# rehashed | |
# actual: PYENV_VERSION=2.7.11 virtualenv ${TMP}/pyenv/versions/2.7.11/envs/foo | |
# Installing pip from https://bootstrap.pypa.io/pip/2.7/get-pip.py... | |
# rehashed | |
ok 95 list virtual environments only | |
ok 96 list virtual environments with hit prefix | |
ok 97 list virtual environments with --bare |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment