Skip to content

Commit 9a98b70

Browse files
committed
update to work with tox 2.1.1
1 parent 91c5b71 commit 9a98b70

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ export WORKON_HOME=$(mktemp -d -t "WORKON_HOME.XXXX.$$")
1010
export PROJECT_HOME=$(mktemp -d -t "PROJECT_HOME.XXXX.$$")
1111

1212
#unset HOOK_VERBOSE_OPTION
13+
14+
# tox no longer exports these variables by default, so set them
15+
# ourselves to ensure the tests that rely on the values work
16+
export USER=$(id -u -n)
17+
export HOME=$(id -P | cut -f9 -d:)

0 commit comments

Comments
 (0)