# HG changeset patch # User Sylvain Thénault # Date 1448355858 -3600 # Node ID f80428f9476152b5870adb676fd59a4709b1ed33 # Parent 9ae707db526579f73edefe2bfa86862890fb9490 [server/test] display rset content on failure diff -r 9ae707db5265 -r f80428f94761 server/test/unittest_ldapsource.py --- a/server/test/unittest_ldapsource.py Tue Nov 24 14:08:47 2015 +0100 +++ b/server/test/unittest_ldapsource.py Tue Nov 24 10:04:18 2015 +0100 @@ -475,7 +475,7 @@ with self.admin_access.repo_cnx() as cnx: rset = cnx.execute('Any L WHERE U in_group G, G name %(name)s, U login L', {'name': 'logilab'}) - self.assertEqual(len(rset), 0) + self.assertEqual(len(rset), 0, rset.rows) finally: # back to normal ldap setup self.tearDownClass()