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

Allow setting env vars using Python expressions #2

Open
jayvdb opened this issue Feb 9, 2017 · 2 comments
Open

Allow setting env vars using Python expressions #2

jayvdb opened this issue Feb 9, 2017 · 2 comments

Comments

@jayvdb
Copy link

jayvdb commented Feb 9, 2017

I would like to use Python expressions for the values, as a way to implement

OS_NAME=$(python -c "import os; print(os.name)")
@jsmedmar
Copy link
Contributor

@jayvdb, it seems the value you want to use might be an environment variable. See the new functionality that was just merged (last section).

@gaborbernat
Copy link

Development moved to https://github.com/pytest-dev/pytest-env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants