Fixed unit tests coverage

This commit is contained in:
Éloi Rivard 2023-03-07 20:10:21 +01:00
parent 84c10f8205
commit edd7873cea

View file

@ -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