New issue 92: envsitepackagesdir is not expanded correctly
https://bitbucket.org/hpk42/tox/issue/92/envsitepackagesdir-is-not-expanded
aheld84:
The `{envsitepackagesdir}` is not expanded correctly.
For the following _tox.ini_
```
#!configfile
[testenv]
deps = pytest
commands = py.test --junitxml=junit-{envname}.xml {envsitepackagesdir}/foo
```
I get this output from jenkins:
```
#!bash
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- pytest-2.3.4
ERROR: file not found: <bound method VenvConfig.envsitepackagesdir of
<tox._config.VenvConfig instance at 0x7fc69c8887a0>>/foo
=============================== in 0.00 seconds ===============================
ERROR: InvocationError:
'/var/lib/jenkins/jobs/foo/workspace/TOXENV/py27/src/foo/.tox/py27/bin/py.test
--junitxml=junit-py27.xml <bound method VenvConfig.envsitepackagesdir of
<tox._config.VenvConfig instance at 0x7fc69c8887a0>>/foo'
___________________________________ summary ____________________________________
ERROR: py27: commands failed
```
Maybe a missing `@property` ?
--
This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
pytest-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pytest-commit