コード例 #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
ファイル: backends.py プロジェクト: teamnsrg/zulip
 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()