We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c5b71 commit 9a98b70Copy full SHA for 9a98b70
tests/setup.sh
@@ -10,3 +10,8 @@ export WORKON_HOME=$(mktemp -d -t "WORKON_HOME.XXXX.$$")
10
export PROJECT_HOME=$(mktemp -d -t "PROJECT_HOME.XXXX.$$")
11
12
#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