--- a/cubicweb/devtools/repotest.py Thu Mar 16 17:25:07 2017 +0100
+++ b/cubicweb/devtools/repotest.py Fri Mar 03 13:09:11 2017 +0100
@@ -277,8 +277,8 @@
undo_monkey_patch()
def _prepare_plan(self, cnx, rql, kwargs=None):
- rqlst = self.o.parse(rql, annotate=True)
- self.o.solutions(cnx, rqlst, kwargs)
+ rqlst = self.repo.vreg.rqlhelper.parse(rql, annotate=True)
+ self.repo.vreg.solutions(cnx, rqlst, kwargs)
if rqlst.TYPE == 'select':
self.repo.vreg.rqlhelper.annotate(rqlst)
for select in rqlst.children: