feat: add auth config fields (SECRET_KEY, LDAP_*)
This commit is contained in:
1 parent
8d7f9df6fc
commit
60c21b46de
4 files changed
+26
-3
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from app.core.config import get_settings
|
||||
|
||||
|
||||
def test_new_config_fields_have_defaults():
|
||||
s = get_settings()
|
||||
assert hasattr(s, "SECRET_KEY")
|
||||
assert hasattr(s, "LDAP_ENABLED")
|
||||
assert s.LDAP_ENABLED is False
|
||||
assert s.LDAP_SERVER == "gso1.ads1.fh-nuernberg.de"
|
||||
assert s.LDAP_DOMAIN == "ADS1"
|
||||
Reference in new issue
Block a user