forked from Github-Mirrors/canaille
Fixed unit tests coverage
This commit is contained in:
parent
84c10f8205
commit
edd7873cea
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def setup_backend(app):
|
|||
|
||||
|
||||
def teardown_backend(app):
|
||||
if g.get("ldap"): # pragma: no branch
|
||||
if g.get("ldap_connection"): # pragma: no branch
|
||||
g.ldap_connection.unbind_s()
|
||||
g.ldap_connection = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue