s/QUIET/NOERROR/g

This commit is contained in:
Yamashita Yuu
2014-07-04 21:28:10 +09:00
parent c2b5bbd19a
commit 58ed045796
4 changed files with 24 additions and 22 deletions

View File

@@ -150,10 +150,10 @@ false
EOS
}
@test "should fail if the version is not a virtualenv (quiet)" {
@test "should fail if the version is not a virtualenv (no-error)" {
stub pyenv-virtualenv-prefix "3.3.3 : false"
run pyenv-sh-activate --quiet "3.3.3"
run pyenv-sh-activate --no-error "3.3.3"
unstub pyenv-virtualenv-prefix
@@ -173,8 +173,8 @@ false
EOS
}
@test "should fail if there are multiple versions (quiet)" {
run pyenv-sh-activate --quiet "venv" "venv27"
@test "should fail if there are multiple versions (no-error)" {
run pyenv-sh-activate --no-error "venv" "venv27"
assert_failure
assert_output <<EOS

View File

@@ -23,10 +23,10 @@ fi;
EOS
}
@test "deactivate virtualenv (quiet)" {
@test "deactivate virtualenv (no-error)" {
export PYENV_VIRTUALENV_INIT=1
PYENV_SHELL="bash" run pyenv-sh-deactivate --quiet
PYENV_SHELL="bash" run pyenv-sh-deactivate --no-error
assert_success
assert_output <<EOS
@@ -57,10 +57,10 @@ fi;
EOS
}
@test "deactivate virtualenv (w/o pyenv-virtualenv-init) (quiet)" {
@test "deactivate virtualenv (w/o pyenv-virtualenv-init) (no-error)" {
export PYENV_VIRTUALENV_INIT=
PYENV_SHELL="bash" run pyenv-sh-deactivate --quiet
PYENV_SHELL="bash" run pyenv-sh-deactivate --no-error
assert_success
assert_output <<EOS
@@ -91,10 +91,10 @@ end;
EOS
}
@test "deactivate virtualenv (fish) (quiet)" {
@test "deactivate virtualenv (fish) (no-error)" {
export PYENV_VIRTUALENV_INIT=1
PYENV_SHELL="fish" run pyenv-sh-deactivate --quiet
PYENV_SHELL="fish" run pyenv-sh-deactivate --no-error
assert_success
assert_output <<EOS
@@ -125,10 +125,10 @@ end;
EOS
}
@test "deactivate virtualenv (fish) (w/o pyenv-virtualenv-init) (quiet)" {
@test "deactivate virtualenv (fish) (w/o pyenv-virtualenv-init) (no-error)" {
export PYENV_VIRTUALENV_INIT=
PYENV_SHELL="fish" run pyenv-sh-deactivate --quiet
PYENV_SHELL="fish" run pyenv-sh-deactivate --no-error
assert_success
assert_output <<EOS