MobileDynasty / pytest-env

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

Possible to set an environment variable before running certain tests ? #7

Closed stuaxo closed 1 year ago

stuaxo commented 6 years ago

Can I set an env var only for certain tests ?

Or set it - run some tests, and run the same ones with it unset ?

stuaxo commented 6 years ago

Not sure if it complicates things, but I'm testing django and the envvars enable or disable settings there.

gaborbernat commented 1 year ago

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

stuaxo commented 1 year ago

Thanks for the update. I'm going to close this as I have recently moved projects so don't need the fraturem