feat(security): add approved rooms/users/domains as env variables #277

Merged
luketainton merged 5 commits from 276-add-approved-usersdomains-as-an-environment-variable into main 2024-08-30 20:38:57 +02:00
Showing only changes of commit 2bb5d7d350 - Show all commits

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# ruff: noqa: E402 pylint: disable=wrong-import-position
"""Provides test cases for app/utils/config.py.""" """Provides test cases for app/utils/config.py."""
import os import os
@ -23,7 +25,7 @@ for var, value in vars.items():
os.environ[var] = value os.environ[var] = value
# needs to be imported AFTER environment variables are set # needs to be imported AFTER environment variables are set
from app.utils.config import config # pragma: no cover # noqa: E402 from app.utils.config import config # pragma: no cover
def test_config() -> None: def test_config() -> None: