Add activate/deactivate hooks (#452)

This commit is contained in:
Josh French
2023-03-22 13:39:55 -04:00
committed by GitHub
parent 13bc1877ef
commit fca12418ca
7 changed files with 138 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bats
#!/usr/bin/env bats
load test_helper
@@ -16,6 +16,7 @@ setup() {
unset PYENV_VIRTUAL_ENV_DISABLE_PROMPT
unset VIRTUAL_ENV_DISABLE_PROMPT
unset _OLD_VIRTUAL_PS1
stub pyenv-hooks "deactivate : echo"
}
@test "deactivate virtualenv" {