""" This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences) -------------------------------------------------------------------------------- Test if settings load correctly and environment variables override defaults. """ from control_backend.core.config import Settings def test_default_settings(): settings = Settings() assert settings.app_title == "PepperPlus" def test_env_override(monkeypatch): monkeypatch.setenv("APP_TITLE", "TestPepper") settings = Settings() assert settings.app_title == "TestPepper"