Merge branch 'main' into dependabot/github_actions/actions/checkout-4.2.2

This commit is contained in:
Luke Tainton 2024-11-28 21:14:48 +00:00 committed by GitHub
commit 4e5b7350f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,9 +25,9 @@ def test_config_no_admin_vars() -> None:
# needs to be imported AFTER environment variables are set
from app.utils.config import config # pragma: no cover
assert config.approved_domains is None
assert config.approved_rooms is None
assert config.approved_users is None
assert config.approved_domains == []
assert config.approved_rooms == []
assert config.approved_users == []
assert config.admin_emails == config_vars["ADMIN_EMAIL"].split(",")
assert config.admin_first_name == config_vars["ADMIN_FIRST_NAME"]
assert config.bot_name == config_vars["BOT_NAME"]