from pathlib import Path import tomllib def test_toml_config_is_parseable(): data = tomllib.loads(Path("app.toml").read_text(encoding="utf-8")) assert "noise" in data assert "production" in data