def simple_bind_s(username, password):
    if (username, password) not in MOCK_LDAP_USERS:
        raise ldap.INVALID_CREDENTIALS
    return True
dataset/ETHPy150Open ContinuumIO/flask-ldap-login/flask_ldap_login/tests/fixture.py/simple_bind_s/original