devtools/__init__.py
changeset 10957 2fdf67ef3341
parent 10644 c43e5dc41f8b
parent 10792 daef7ce08fea
child 10960 9e64fddebc89
--- a/devtools/__init__.py	Fri Nov 13 14:29:48 2015 +0100
+++ b/devtools/__init__.py	Wed Dec 09 18:24:09 2015 +0100
@@ -402,6 +402,7 @@
         from cubicweb.repoapi import _get_inmemory_repo
         config._cubes = None
         repo = _get_inmemory_repo(config)
+        config.repository = lambda x=None: repo
         # extending Repository class
         repo._has_started = False
         repo._needs_refresh = False