Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envsitepackagesdir is not expanded correctly #92

Closed
pytoxbot opened this issue Sep 17, 2016 · 2 comments
Closed

envsitepackagesdir is not expanded correctly #92

pytoxbot opened this issue Sep 17, 2016 · 2 comments

Comments

@pytoxbot
Copy link

@pytoxbot pytoxbot commented Sep 17, 2016

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 ?

@pytoxbot
Copy link
Author

@pytoxbot pytoxbot commented Sep 17, 2016

Original comment by @hpk42

fix issue92 envsitepackagesdir to work correctly. Also fix the test.

→ <<cset 2bedb02425da>>

@pytoxbot
Copy link
Author

@pytoxbot pytoxbot commented Sep 17, 2016

Original comment by @hpk42

yes, not only that. the test is broken as well it seems. Didn't pay enough attention when merging this change :/

@pytoxbot pytoxbot closed this Sep 17, 2016
@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant