Skip to content

Commit a80bef1

Browse files
committed
clear configuration variables before running tests
1 parent 8f3917a commit a80bef1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/run_tests

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export HOOK_VERBOSE_OPTION="-q"
3131
# tox-created virtualenv.
3232
export VIRTUALENVWRAPPER_PYTHON="$envdir/bin/python"
3333

34+
# Clear any user settings for the hook directory or log directory
35+
unset VIRTUALENVWRAPPER_HOOK_DIR
36+
unset VIRTUALENVWRAPPER_LOG_DIR
37+
3438
# Run the test scripts with a little formatting around them to make it
3539
# easier to find where each script output starts.
3640
for test_shell in bash ksh zsh

0 commit comments

Comments
 (0)