diff -r 5e64a98572de -r b8d2e6b9f548 cubicweb/test/unittest_repoapi.py --- a/cubicweb/test/unittest_repoapi.py Fri Mar 10 18:00:13 2017 +0100 +++ b/cubicweb/test/unittest_repoapi.py Tue Mar 14 11:07:58 2017 +0100 @@ -56,7 +56,7 @@ """Check that ClientConnection requires explicit open and close """ access = self.admin_access - cltcnx = Connection(access._session) + cltcnx = Connection(access._repo, access._user) # connection not open yet with self.assertRaises(ProgrammingError): cltcnx.execute('Any X WHERE X is CWUser')