mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05:00
Fix test: deactivate
This commit is contained in:
@@ -27,7 +27,6 @@ setup() {
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
unset PYENV_VIRTUAL_ENV;
|
||||
unset VIRTUAL_ENV;
|
||||
if [ -n "\${_OLD_VIRTUAL_PATH}" ]; then
|
||||
@@ -53,6 +52,7 @@ EOS
|
||||
export PYENV_VIRTUAL_ENV="${PYENV_ROOT}/versions/venv"
|
||||
export VIRTUAL_ENV="${PYENV_ROOT}/versions/venv"
|
||||
export PYENV_ACTIVATE_SHELL=
|
||||
export PYENV_VIRTUALENV_VERBOSE_ACTIVATE=1
|
||||
|
||||
PYENV_SHELL="bash" run pyenv-sh-deactivate --verbose
|
||||
|
||||
@@ -89,7 +89,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
unset PYENV_VIRTUAL_ENV;
|
||||
unset VIRTUAL_ENV;
|
||||
if [ -n "\${_OLD_VIRTUAL_PATH}" ]; then
|
||||
@@ -120,7 +119,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
unset PYENV_VERSION;
|
||||
unset PYENV_ACTIVATE_SHELL;
|
||||
unset PYENV_VIRTUAL_ENV;
|
||||
@@ -153,7 +151,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
unset PYENV_VERSION;
|
||||
unset PYENV_ACTIVATE_SHELL;
|
||||
unset PYENV_VIRTUAL_ENV;
|
||||
@@ -186,7 +183,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
unset PYENV_VIRTUAL_ENV;
|
||||
unset VIRTUAL_ENV;
|
||||
if [ -n "\${_OLD_VIRTUAL_PATH}" ]; then
|
||||
@@ -217,7 +213,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
set -e PYENV_VIRTUAL_ENV;
|
||||
set -e VIRTUAL_ENV;
|
||||
if [ -n "\$_OLD_VIRTUAL_PATH" ];
|
||||
@@ -244,7 +239,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
set -e PYENV_VIRTUAL_ENV;
|
||||
set -e VIRTUAL_ENV;
|
||||
if [ -n "\$_OLD_VIRTUAL_PATH" ];
|
||||
@@ -271,7 +265,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
set -e PYENV_VERSION;
|
||||
set -e PYENV_ACTIVATE_SHELL;
|
||||
set -e PYENV_VIRTUAL_ENV;
|
||||
@@ -300,7 +293,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
set -e PYENV_VERSION;
|
||||
set -e PYENV_ACTIVATE_SHELL;
|
||||
set -e PYENV_VIRTUAL_ENV;
|
||||
@@ -329,7 +321,6 @@ EOS
|
||||
|
||||
assert_success
|
||||
assert_output <<EOS
|
||||
pyenv-virtualenv: deactivate venv
|
||||
set -e PYENV_VIRTUAL_ENV;
|
||||
set -e VIRTUAL_ENV;
|
||||
if [ -n "\$_OLD_VIRTUAL_PATH" ];
|
||||
|
||||
Reference in New Issue
Block a user