[test] Drop useless access to repo._sessions
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 10 Mar 2017 12:01:31 +0100
changeset 12024 5f46195b9595
parent 12023 0d2b889c85d3
child 12025 ba79f4a4f5d8
[test] Drop useless access to repo._sessions test still succeed afterwards.
cubicweb/devtools/repotest.py
--- a/cubicweb/devtools/repotest.py	Fri Mar 10 11:27:01 2017 +0100
+++ b/cubicweb/devtools/repotest.py	Fri Mar 10 12:01:31 2017 +0100
@@ -273,7 +273,6 @@
     def setup(self):
         # XXX source_defs
         self.o = self.repo.querier
-        self.session = self.repo._sessions.values()[0]
         self.schema = self.o.schema
         self.system = self.repo.system_source
         do_monkey_patch()