[Pytest-commit] Issue #200: tox doesn't create `{envtmpdir}` (hpk42/tox)

Andy Freeland issues-reply at bitbucket.org
Thu Oct 30 01:15:42 CET 2014


New issue 200: tox doesn't create `{envtmpdir}`
https://bitbucket.org/hpk42/tox/issue/200/tox-doesnt-create-envtmpdir

Andy Freeland:

Tox isn't creating `{envtmpdir}` in my testenvs. The documentation doesn't explicitly state that it will, but I would expect it to be created.

Sample `tox.ini`:

```
[tox]
envlist = py27,py34
skipsdist = true

[testenv]
whitelist_externals =
    /bin/ls
commands =
    ls {envtmpdir}
```

Result:

```console
$ tox --version && tox -r
1.8.1 imported from /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/lib/python2.7/site-packages/tox/__init__.py
py27 recreate: /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py27
py27 runtests: PYTHONHASHSEED='1998573252'
py27 runtests: commands[0] | ls /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py27/tmp
ls: /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py27/tmp: No such file or directory
ERROR: InvocationError: '/bin/ls /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py27/tmp'
py34 recreate: /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py34
py34 runtests: PYTHONHASHSEED='1998573252'
py34 runtests: commands[0] | ls /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py34/tmp
ls: /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py34/tmp: No such file or directory
ERROR: InvocationError: '/bin/ls /Users/rouge8/.virtualenvs/tmp-1127fdbcb2378c33/.tox/py34/tmp'
__________________________________________________________________________________ summary __________________________________________________________________________________
ERROR:   py27: commands failed
ERROR:   py34: commands failed
```




More information about the pytest-commit mailing list