devtools/repotest.py
branchstable
changeset 6758 28b11ecf319b
parent 6671 c34fa947df07
child 6794 140d42b41b31
--- a/devtools/repotest.py	Tue Dec 21 21:20:19 2010 +0100
+++ b/devtools/repotest.py	Tue Jan 04 09:07:22 2011 +0100
@@ -141,7 +141,7 @@
 from rql import RQLHelper
 
 from cubicweb.devtools.fake import FakeRepo, FakeSession
-from cubicweb.server import set_debug
+from cubicweb.server import set_debug, debugged
 from cubicweb.server.querier import QuerierHelper
 from cubicweb.server.session import Session
 from cubicweb.server.sources.rql2sql import SQLGenerator, remove_unused_solutions
@@ -171,6 +171,8 @@
 
     def set_debug(self, debug):
         set_debug(debug)
+    def debugged(self, debug):
+        return debugged(debug)
 
     def _prepare(self, rql):
         #print '******************** prepare', rql
@@ -222,6 +224,8 @@
 
     def set_debug(self, debug):
         set_debug(debug)
+    def debugged(self, debug):
+        return debugged(debug)
 
     def _rqlhelper(self):
         rqlhelper = self.repo.vreg.rqlhelper