changeset 11262 | 25f9a76ddf50 |
parent 10950 | 282880f81311 |
--- a/server/test/unittest_ldapsource.py Fri Apr 22 16:16:09 2016 +0200 +++ b/server/test/unittest_ldapsource.py Wed May 25 17:43:53 2016 +0200 @@ -234,6 +234,8 @@ # ensure we won't be logged against self.assertRaises(AuthenticationError, source.authenticate, cnx, 'toto', 'toto') + self.assertRaises(AuthenticationError, + source.authenticate, cnx, 'syt', 'toto') self.assertTrue(source.authenticate(cnx, 'syt', 'syt')) sessionid = self.repo.connect('syt', password='syt') self.assertTrue(sessionid)