1 new commit in tox: https://bitbucket.org/hpk42/tox/commits/35e3076d3c77/ Changeset: 35e3076d3c77 User: hpk42 Date: 2014-09-23 14:20:43+00:00 Summary: fix issue152: set VIRTUAL_ENV when running test commands, thanks Florian Ludwig. Affected #: 2 files
diff -r 399ecae24b33db95199de1a64849f7c15610303d -r 35e3076d3c770b0180da25bedb66a21e82b75994 CHANGELOG --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,8 @@ - fix issue148: remove "__PYVENV_LAUNCHER__" from os.environ when starting subprocesses. Thanks Steven Myint. +- fix issue152: set VIRTUAL_ENV when running test commands, + thanks Florian Ludwig. 1.7.2 diff -r 399ecae24b33db95199de1a64849f7c15610303d -r 35e3076d3c770b0180da25bedb66a21e82b75994 tests/test_venv.py --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -513,6 +513,7 @@ assert env is not None assert 'ENV_VAR' in env assert env['ENV_VAR'] == 'value' + assert env['VIRTUAL_ENV'] == str(venv.path) for e in os.environ: assert e in env Repository URL: https://bitbucket.org/hpk42/tox/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit