MobileDynasty / pytest-env

pytest plugin used to set environment variables
MIT License
217 stars 23 forks source link

Allow setting env vars using Python expressions #2

Open jayvdb opened 7 years ago

jayvdb commented 7 years ago

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 commented 7 years ago

@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 commented 1 year ago

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