Merge pull request #78 from blueyed/shell-no-note-if-init

activate: do not display note if initialized already
This commit is contained in:
Yamashita, Yuu
2015-05-17 12:23:37 +09:00
4 changed files with 26 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
load test_helper
@test "detect parent shell" {
unset PYENV_SHELL
root="$(cd $BATS_TEST_DIRNAME/.. && pwd)"
SHELL=/bin/false run pyenv-virtualenv-init -
assert_success