devtools/repotest.py
changeset 9460 a2a0bc984863
parent 9456 a79e88aad555
child 9467 ad66d7b3fd48
--- a/devtools/repotest.py	Wed Jan 22 12:14:56 2014 +0100
+++ b/devtools/repotest.py	Tue Jul 02 17:07:34 2013 +0200
@@ -141,7 +141,7 @@
 
 from rql import RQLHelper
 
-from cubicweb.devtools.fake import FakeRepo, FakeSession
+from cubicweb.devtools.fake import FakeRepo, FakeConfig, FakeSession
 from cubicweb.server import set_debug, debugged
 from cubicweb.server.querier import QuerierHelper
 from cubicweb.server.session import Session
@@ -159,7 +159,7 @@
                 raise SkipTest(str(ex))
 
     def setUp(self):
-        self.repo = FakeRepo(self.schema)
+        self.repo = FakeRepo(self.schema, config=FakeConfig(apphome=self.datadir))
         self.repo.system_source = mock_object(dbdriver=self.backend)
         self.rqlhelper = RQLHelper(self.schema, special_relations={'eid': 'uid',
                                                                    'has_text': 'fti'},