示例#1
0
文件: backends.py 项目: sumepr/zulip
 def __init__(self) -> None:
     # Used to initialize a fake LDAP directly for both manual
     # and automated testing in a development environment where
     # there is no actual LDAP server.
     if settings.DEVELOPMENT and settings.FAKE_LDAP_MODE:  # nocoverage
         init_fakeldap()
示例#2
0
文件: backends.py 项目: deltay/zulip
 def __init__(self) -> None:
     # Used to initialize a fake LDAP directly for both manual
     # and automated testing in a development environment where
     # there is no actual LDAP server.
     if settings.DEVELOPMENT and settings.FAKE_LDAP_MODE:  # nocoverage
         init_fakeldap()
示例#3
0
 def __init__(self) -> None:
     if settings.DEVELOPMENT and settings.FAKE_LDAP_MODE:  # nocoverage
         init_fakeldap()
示例#4
0
文件: backends.py 项目: rishig/zulip
 def __init__(self) -> None:
     if settings.DEVELOPMENT and settings.FAKE_LDAP_MODE:  # nocoverage
         init_fakeldap()