devtools/__init__.py
changeset 10792 daef7ce08fea
parent 10175 2659f8529a43
child 10957 2fdf67ef3341
--- a/devtools/__init__.py	Fri Oct 09 09:40:08 2015 +0200
+++ b/devtools/__init__.py	Thu Jul 30 11:11:12 2015 +0200
@@ -401,6 +401,7 @@
         from cubicweb.dbapi import in_memory_repo
         config._cubes = None
         repo = in_memory_repo(config)
+        config.repository = lambda x=None: repo
         # extending Repository class
         repo._has_started = False
         repo._needs_refresh = False