def test_load_from_toml_with_multiple_envs(tmpdir):
    """Asserts loader can read from TOML when multiple comma separated envs are provided"""
    _settings = LazySettings(environments=True)
    load(_settings, filename=TOML, env="DEVELOPMENT,EXTRA")
    assert _settings.HOST == "devserver.com"  # comes from [development]
    assert _settings.PASSWORD == 77777  # comes from [extra]
    assert _settings.GLOBAL_VALUE == "global"  # comes from [global]
Asserts loader can read from TOML when multiple comma separated envs are provided
tests/test_toml_loader.py