4 ms·
You can read environment variables via os in the cpython standard library: os.environ["VARIABLE_NAME"]
by Godel_unicode 5y ago
You can read environment variables via os in the cpython standard library: os.environ["VARIABLE_NAME"]
- zikohh 5y agoBut you can't run this in the pytest.ini I know I can add a fixture and do what you said but I want to do this inside the ini file. Similar to what tox has with passenv