Issues

Issue #92 resolved

envsitepackagesdir is not expanded correctly

aheld84
created an issue

The {envsitepackagesdir} is not expanded correctly. For the following tox.ini

[testenv]
deps = pytest
commands = py.test --junitxml=junit-{envname}.xml {envsitepackagesdir}/foo

I get this output from jenkins:

============================= 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 ?

Comments (2)

  1. Log in to comment