From 7e58a5985feab499d8972e7f03989375116bb023 Mon Sep 17 00:00:00 2001 From: Josh French Date: Sun, 19 Mar 2023 10:36:29 -0400 Subject: [PATCH] stub other uses of sh-activate in tests --- test/conda-activate.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/conda-activate.bats b/test/conda-activate.bats index bfdfb23..0ac9693 100644 --- a/test/conda-activate.bats +++ b/test/conda-activate.bats @@ -17,6 +17,11 @@ setup() { unset PYENV_VIRTUAL_ENV_DISABLE_PROMPT unset VIRTUAL_ENV_DISABLE_PROMPT unset _OLD_VIRTUAL_PS1 + stub pyenv-hooks "" +} + +teardown() { + unstub pyenv-hooks } @test "activate conda root from current version" {