1. Peter Sagerson
  2. mockldap

Issues

Issue #3 resolved

search_s should raise FILTER_ERROR instead of ParseError

Theo Chatzimichos
created an issue

1) This test fails, it raises ParserError instead (the test is not committed yet):

def test_search_s_filter_error(self):
    with self.assertRaises(ldap.FILTER_ERROR):
        self.ldapobj.search_s("ou=example,o=test", ldap.SCOPE_ONELEVEL, '(blah)')

Comments (1)

  1. Log in to comment