[test] Drop unnecessary call to new_session
This is not unittest, the above call is enough.
--- a/cubicweb/server/test/unittest_ldapsource.py Fri Mar 10 17:58:25 2017 +0100
+++ b/cubicweb/server/test/unittest_ldapsource.py Fri Mar 10 18:00:13 2017 +0100
@@ -246,7 +246,6 @@
self.assertRaises(AuthenticationError,
source.authenticate, cnx, 'syt', 'toto')
self.assertTrue(source.authenticate(cnx, 'syt', 'syt'))
- self.assertTrue(self.repo.new_session('syt', password='syt'))
def test_base(self):
with self.admin_access.repo_cnx() as cnx: