app/lib/ldap.py [126:133]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ldap_attrs=["cn"],
            )
            for hit in result:
                assert type(hit) is dict
                pmc = hit.get("cn")
                assert type(pmc) is list and len(pmc) == 1
                pmc = pmc[0]
                assert pmc and type(pmc) is str
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



app/lib/ldap.py [145:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ldap_attrs=["cn"],
            )
            for hit in result:
                assert type(hit) is dict
                pmc = hit.get("cn")
                assert type(pmc) is list and len(pmc) == 1
                pmc = pmc[0]
                assert pmc and type(pmc) is str
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



