diff options
author | Florian Ludwig <f.ludwig@greyrook.com> | 2014-07-24 17:31:35 +0200 |
---|---|---|
committer | Florian Ludwig <f.ludwig@greyrook.com> | 2014-07-24 17:31:35 +0200 |
commit | 7c8828adf6819dda1ead6c7ee419714f2fc42b8c (patch) | |
tree | 76a91385c06215270a04c365a6e2670a70d1abb7 | |
parent | 59bd2df040b608a02d3708c2c461c1678274452f (diff) | |
download | tox-7c8828adf6819dda1ead6c7ee419714f2fc42b8c.tar.gz |
set VIRTUAL_ENV for test commands
-rw-r--r-- | tox/_venv.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tox/_venv.py b/tox/_venv.py index 7e9f45f..df37eac 100644 --- a/tox/_venv.py +++ b/tox/_venv.py @@ -320,6 +320,7 @@ class VirtualEnv(object): setenv = self.envconfig.setenv if setenv: env.update(setenv) + env['VIRTUAL_ENV'] = str(self.path) env.update(extraenv) return env |