Usually, when defining a Environment Variable for pytest using the pytest-env plugin, this is done using pytest.ini:
[pytest]
env =
DATA_DIR = data/test_assets
pytest supports pyproject.toml since 6.0. How is an Environment Variable supposed be defined in this format? The following does not work:
[tool.pytest.ini_options]
env = [
{DATA_DIR = "data/test_assets"}
]